]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: test free space tree mount options
authorOmar Sandoval <osandov@fb.com>
Thu, 22 Sep 2016 19:37:53 +0000 (12:37 -0700)
committerEryu Guan <eguan@redhat.com>
Fri, 23 Sep 2016 16:39:13 +0000 (00:39 +0800)
commit0bbd20b104765c75faaf8e28a54c32df505ce7fd
tree358ea15d0f15f0a44dc5ef3773f7196f6508e4b3
parent73ca62e997ce7a341cf856d8d53add09eff9c9f8
btrfs: test free space tree mount options

The behavior of different combinations of space_cache mount options
wasn't well defined, which led to a regression between my initial
patches adding the free space tree and the 4.5 release. Add a test to
exercise all of the meaningful permutations of clear_cache,
nospace_cache, and space_cache.

This is a regression test for Linux kernel commit "Btrfs: fix mount -o
clear_cache,space_cache=v2".

Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/btrfs/131 [new file with mode: 0755]
tests/btrfs/131.out [new file with mode: 0644]
tests/btrfs/group