diff options
author | Filipe Manana <fdmanana@suse.com> | 2023-05-18 12:08:59 +0100 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2023-05-28 02:11:02 +0800 |
commit | aeb0dccbadacd2c463e6d768e6d8e67a2c8c122c (patch) | |
tree | 6226b7f54285200b57b50de86d88e9dd56af2a59 | |
parent | e46a74f2e1d72ff8ad17baeb67193480f2070518 (diff) | |
download | xfstests-dev-aeb0dccbadacd2c463e6d768e6d8e67a2c8c122c.tar.gz |
btrfs/213: add _fixed_by_kernel_commit tag and remove from dangerous group
Add a _fixed_by_kernel_commit to identify the commit the fixed the issue
the test is trying to reproduce, which was:
1dae7e0e58b4 "btrfs: reloc: clear DEAD_RELOC_TREE bit for orphan roots to prevent runaway balance"
introduced in kernel 5.8-rc1. Also remove it from the dangerous group, as
the fix is from 2020 and it was backported to stable releases.
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
-rwxr-xr-x | tests/btrfs/213 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/btrfs/213 b/tests/btrfs/213 index 8a10355cc3..e16e41c0d9 100755 --- a/tests/btrfs/213 +++ b/tests/btrfs/213 @@ -7,7 +7,7 @@ # Test if canceling a running balance can lead to dead looping balance # . ./common/preamble -_begin_fstest auto balance dangerous +_begin_fstest auto balance # Override the default cleanup function. _cleanup() @@ -25,6 +25,9 @@ _supported_fs btrfs _require_scratch _require_xfs_io_command pwrite -D +_fixed_by_kernel_commit 1dae7e0e58b4 \ + "btrfs: reloc: clear DEAD_RELOC_TREE bit for orphan roots to prevent runaway balance" + _scratch_mkfs >> $seqres.full _scratch_mount |