* [PATCH] btrfs/213: add _fixed_by_kernel_commit tag and remove from dangerous group
@ 2023-05-18 11:08 fdmanana
2023-05-19 5:32 ` Anand Jain
0 siblings, 1 reply; 2+ messages in thread
From: fdmanana @ 2023-05-18 11:08 UTC (permalink / raw)
To: fstests; +Cc: linux-btrfs, Filipe Manana
From: Filipe Manana <fdmanana@suse.com>
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>
---
tests/btrfs/213 | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/btrfs/213 b/tests/btrfs/213
index cca0b3cc..3ca63171 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
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] btrfs/213: add _fixed_by_kernel_commit tag and remove from dangerous group
2023-05-18 11:08 [PATCH] btrfs/213: add _fixed_by_kernel_commit tag and remove from dangerous group fdmanana
@ 2023-05-19 5:32 ` Anand Jain
0 siblings, 0 replies; 2+ messages in thread
From: Anand Jain @ 2023-05-19 5:32 UTC (permalink / raw)
To: fdmanana, fstests; +Cc: linux-btrfs, Filipe Manana
LGTM
Reviewed-by: Anand Jain <anand.jain@oracle.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-05-19 5:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-18 11:08 [PATCH] btrfs/213: add _fixed_by_kernel_commit tag and remove from dangerous group fdmanana
2023-05-19 5:32 ` Anand Jain
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox