]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs/220: fix clear_cache and inode_cache option tests
authorBoris Burkov <boris@bur.io>
Tue, 12 Jan 2021 21:17:47 +0000 (13:17 -0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 15 Aug 2021 15:30:02 +0000 (23:30 +0800)
commitca71bde9fd8b0dfbda79f92b6fe5d8c3889b4691
tree8f94df1d5515332e9f85e3ff113d0992d18f07e4
parent6b96c8995ea2c223390068cf3e7e337cdfa4c747
btrfs/220: fix clear_cache and inode_cache option tests

I recently changed clear_cache to not appear in mount options, as it
has one shot semantics, which was breaking this test. Test
explicitly that it _doesn't_ appear, which properly fails on old
filesystems and passes on misc-next.

The patch that changed this behavior was:
8b228324a8ce btrfs: clear free space tree on ro->rw remount

Separately, inode_cache is deprecated and will never appear in mount
options; remove it entirely.

Signed-off-by: Boris Burkov <boris@bur.io>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/btrfs/220