]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Btrfs: add free space tree sanity tests
authorOmar Sandoval <osandov@fb.com>
Wed, 30 Sep 2015 03:50:36 +0000 (20:50 -0700)
committerShan Hai <shan.hai@oracle.com>
Wed, 23 Aug 2017 05:27:12 +0000 (13:27 +0800)
commit1ef810d0b42c63d82251e4ca7752dba19cf96e1b
tree1dd96ff03c4a0d96629d693503d88c8d7af0144d
parent586895eac6dc31c1321ceb2df037b1639aecdc5c
Btrfs: add free space tree sanity tests

This tests the operations on the free space tree trying to excercise all
of the main cases for both formats. Between this and xfstests, the free
space tree should have pretty good coverage.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
Orabug: 26274676

(cherry picked from commit 7c55ee0c4afba4434d973117234577ae6ff77a1c)
Signed-off-by: Shan Hai <shan.hai@oracle.com>
Reviewed-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
fs/btrfs/Makefile
fs/btrfs/super.c
fs/btrfs/tests/btrfs-tests.c
fs/btrfs/tests/btrfs-tests.h
fs/btrfs/tests/free-space-tests.c
fs/btrfs/tests/free-space-tree-tests.c [new file with mode: 0644]
fs/btrfs/tests/qgroup-tests.c