]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: test block group size class loading logic
authorBoris Burkov <boris@bur.io>
Thu, 16 Feb 2023 15:47:18 +0000 (07:47 -0800)
committerZorro Lang <zlang@kernel.org>
Sat, 18 Feb 2023 05:55:27 +0000 (13:55 +0800)
commit150efa34087dcf27bb39262b3843a3d972e25568
treeb2032e7b1948ed8bbc7e3fdfaab9dcd6f5bc802d
parent4eb6985b70ab25c25b299abc5890c263e06041f7
btrfs: test block group size class loading logic

Add a new test which checks that size classes in freshly loaded block
groups after a cycle mount match size classes before going down

Depends on the kernel patch:
btrfs: add size class stats to sysfs

Signed-off-by: Boris Burkov <boris@bur.io>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/btrfs/285 [new file with mode: 0755]
tests/btrfs/285.out [new file with mode: 0644]