Since commit fd0830929573 ("fsstress: add the ability to create snapshots") adds the ability for fsstress to create/delete snapshot and subvolume, test case btrfs/022 fails as _btrfs_get_subvolid can't handle multiple subvolumes under the same path. So manually disable snapshot/subvolume creation and deletion ioctl in this test case. Other qgroup test cases aren't affected. Signed-off-by: Qu Wenruo <wqu@xxxxxxxx> --- tests/btrfs/022 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/btrfs/022 b/tests/btrfs/022 index 5348d3ed..d0ae6b01 100755 --- a/tests/btrfs/022 +++ b/tests/btrfs/022 @@ -43,6 +43,7 @@ _basic_test() $seqres.full 2>&1 [ $? -eq 0 ] || _fail "couldn't find our subvols quota group" run_check $FSSTRESS_PROG -d $SCRATCH_MNT/a -w -p 1 -n 2000 \ + -f snapshot=0 -f subvol_create=0 -f subvol_delete=0 \ $FSSTRESS_AVOID _run_btrfs_util_prog subvolume snapshot $SCRATCH_MNT/a \ $SCRATCH_MNT/b @@ -66,6 +67,7 @@ _rescan_test() _run_btrfs_util_prog quota enable $SCRATCH_MNT/a subvolid=$(_btrfs_get_subvolid $SCRATCH_MNT a) run_check $FSSTRESS_PROG -d $SCRATCH_MNT/a -w -p 1 -n 2000 \ + -f snapshot=0 -f subvol_create=0 -f subvol_delete=0 \ $FSSTRESS_AVOID sync output=$($BTRFS_UTIL_PROG qgroup show $units $SCRATCH_MNT | grep $subvolid) -- 2.23.0