* [PATCH 0/2] Hints for tests failing on older kernel/xfsprogs @ 2026-11-24 10:36 Andrey Albershteyn 2026-11-24 10:36 ` [PATCH 1/2] generic/453,generic/454: add a hint for the missing xfsprogs commit Andrey Albershteyn 2026-11-24 10:36 ` [PATCH 2/2] xfs/349,xfs/556: both these tests require online repair in the kernel Andrey Albershteyn 0 siblings, 2 replies; 11+ messages in thread From: Andrey Albershteyn @ 2026-11-24 10:36 UTC (permalink / raw) To: Zorro Lang, fstests; +Cc: Andrey Albershteyn, preichl Hey folks, First patch adds a hint for two tests failing on xfsprogs < v7.0.0. The second one requires online repair used by xfs_scrub (tests won't run on older kernel or ones without online repair). Andrey Albershteyn (2): generic/453,generic/454: add a hint for the missing xfsprogs commit xfs/349,xfs/556: both these tests require online repair in the kernel tests/generic/453 | 3 +++ tests/generic/454 | 3 +++ tests/xfs/349 | 1 + tests/xfs/556 | 1 + 4 files changed, 8 insertions(+) -- 2.54.0 ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 1/2] generic/453,generic/454: add a hint for the missing xfsprogs commit 2026-11-24 10:36 [PATCH 0/2] Hints for tests failing on older kernel/xfsprogs Andrey Albershteyn @ 2026-11-24 10:36 ` Andrey Albershteyn 2026-11-24 20:16 ` Zorro Lang 2026-11-24 10:36 ` [PATCH 2/2] xfs/349,xfs/556: both these tests require online repair in the kernel Andrey Albershteyn 1 sibling, 1 reply; 11+ messages in thread From: Andrey Albershteyn @ 2026-11-24 10:36 UTC (permalink / raw) To: Zorro Lang, fstests; +Cc: Andrey Albershteyn, preichl These two test will fail with xfs_scrub before v7.0.0 which dropped warning about use of bidirectional characters. These tests trigger these warning and break the golden output on older xfsprogs. +Unnecessary complaints about mixed bidi characters in a name? This warning was removed in the referenced commit. Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org> --- tests/generic/453 | 3 +++ tests/generic/454 | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tests/generic/453 b/tests/generic/453 index 9b121d995ad1..7d1deb553cd3 100755 --- a/tests/generic/453 +++ b/tests/generic/453 @@ -17,6 +17,9 @@ _begin_fstest auto quick dir _require_scratch _require_names_are_bytes +_fixed_by_git_commit xfsprogs 5f5d7fe4a7ef \ + "xfs_scrub: drop the warning about mixed bidirectional codepoints in names" + echo "Format and mount" _scratch_mkfs > $seqres.full 2>&1 _scratch_mount >> $seqres.full 2>&1 diff --git a/tests/generic/454 b/tests/generic/454 index 81c9a721561c..b55e9474c35a 100755 --- a/tests/generic/454 +++ b/tests/generic/454 @@ -19,6 +19,9 @@ _require_scratch _require_attrs _require_names_are_bytes +_fixed_by_git_commit xfsprogs 5f5d7fe4a7ef \ + "xfs_scrub: drop the warning about mixed bidirectional codepoints in names" + echo "Format and mount" _scratch_mkfs > $seqres.full 2>&1 _scratch_mount >> $seqres.full 2>&1 -- 2.54.0 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 1/2] generic/453,generic/454: add a hint for the missing xfsprogs commit 2026-11-24 10:36 ` [PATCH 1/2] generic/453,generic/454: add a hint for the missing xfsprogs commit Andrey Albershteyn @ 2026-11-24 20:16 ` Zorro Lang 2026-11-25 10:35 ` Andrey Albershteyn 0 siblings, 1 reply; 11+ messages in thread From: Zorro Lang @ 2026-11-24 20:16 UTC (permalink / raw) To: Andrey Albershteyn; +Cc: fstests, preichl On Tue, Nov 24, 2026 at 11:36:14AM +0100, Andrey Albershteyn wrote: > These two test will fail with xfs_scrub before v7.0.0 which dropped > warning about use of bidirectional characters. These tests trigger these > warning and break the golden output on older xfsprogs. > > +Unnecessary complaints about mixed bidi characters in a name? Sorry, what's this question for? > > This warning was removed in the referenced commit. > > Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org> > --- > tests/generic/453 | 3 +++ > tests/generic/454 | 3 +++ > 2 files changed, 6 insertions(+) > > diff --git a/tests/generic/453 b/tests/generic/453 > index 9b121d995ad1..7d1deb553cd3 100755 > --- a/tests/generic/453 > +++ b/tests/generic/453 > @@ -17,6 +17,9 @@ _begin_fstest auto quick dir > _require_scratch > _require_names_are_bytes > > +_fixed_by_git_commit xfsprogs 5f5d7fe4a7ef \ > + "xfs_scrub: drop the warning about mixed bidirectional codepoints in names" > + > echo "Format and mount" > _scratch_mkfs > $seqres.full 2>&1 > _scratch_mount >> $seqres.full 2>&1 > diff --git a/tests/generic/454 b/tests/generic/454 > index 81c9a721561c..b55e9474c35a 100755 > --- a/tests/generic/454 > +++ b/tests/generic/454 > @@ -19,6 +19,9 @@ _require_scratch > _require_attrs > _require_names_are_bytes > > +_fixed_by_git_commit xfsprogs 5f5d7fe4a7ef \ > + "xfs_scrub: drop the warning about mixed bidirectional codepoints in names" > + > echo "Format and mount" > _scratch_mkfs > $seqres.full 2>&1 > _scratch_mount >> $seqres.full 2>&1 > -- > 2.54.0 > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/2] generic/453,generic/454: add a hint for the missing xfsprogs commit 2026-11-24 20:16 ` Zorro Lang @ 2026-11-25 10:35 ` Andrey Albershteyn 2026-11-25 21:31 ` Zorro Lang 0 siblings, 1 reply; 11+ messages in thread From: Andrey Albershteyn @ 2026-11-25 10:35 UTC (permalink / raw) To: fstests, preichl On 2026-11-25 04:16:22, Zorro Lang wrote: > On Tue, Nov 24, 2026 at 11:36:14AM +0100, Andrey Albershteyn wrote: > > These two test will fail with xfs_scrub before v7.0.0 which dropped > > warning about use of bidirectional characters. These tests trigger these > > warning and break the golden output on older xfsprogs. > > > > +Unnecessary complaints about mixed bidi characters in a name? > > Sorry, what's this question for? This is the message printed in the bad.out (for anyone grepping). I can add a note to make it more clear -- - Andrey ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 1/2] generic/453,generic/454: add a hint for the missing xfsprogs commit 2026-11-25 10:35 ` Andrey Albershteyn @ 2026-11-25 21:31 ` Zorro Lang 0 siblings, 0 replies; 11+ messages in thread From: Zorro Lang @ 2026-11-25 21:31 UTC (permalink / raw) To: Andrey Albershteyn; +Cc: fstests, preichl On Wed, Nov 25, 2026 at 11:35:50AM +0100, Andrey Albershteyn wrote: > On 2026-11-25 04:16:22, Zorro Lang wrote: > > On Tue, Nov 24, 2026 at 11:36:14AM +0100, Andrey Albershteyn wrote: > > > These two test will fail with xfs_scrub before v7.0.0 which dropped > > > warning about use of bidirectional characters. These tests trigger these > > > warning and break the golden output on older xfsprogs. > > > > > > +Unnecessary complaints about mixed bidi characters in a name? > > > > Sorry, what's this question for? > > This is the message printed in the bad.out (for anyone grepping). I > can add a note to make it more clear Sure, thanks! > > -- > - Andrey > ^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 2/2] xfs/349,xfs/556: both these tests require online repair in the kernel 2026-11-24 10:36 [PATCH 0/2] Hints for tests failing on older kernel/xfsprogs Andrey Albershteyn 2026-11-24 10:36 ` [PATCH 1/2] generic/453,generic/454: add a hint for the missing xfsprogs commit Andrey Albershteyn @ 2026-11-24 10:36 ` Andrey Albershteyn 2026-11-24 20:20 ` Zorro Lang 1 sibling, 1 reply; 11+ messages in thread From: Andrey Albershteyn @ 2026-11-24 10:36 UTC (permalink / raw) To: Zorro Lang, fstests; +Cc: Andrey Albershteyn, preichl Both these tests run xfs_scrub without -n (scrub only, no repair), therefore, scrub tries to repair found issues. However, without online repair enabled in the kernel scrub exits with a message that online repair is not supported, breaking the golden output. In the xfs/556 case, online repair will not repair anything but just prints a message that unrepairable issue found. Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org> --- tests/xfs/349 | 1 + tests/xfs/556 | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/xfs/349 b/tests/xfs/349 index a03ab812dc9e..0940ced42121 100755 --- a/tests/xfs/349 +++ b/tests/xfs/349 @@ -18,6 +18,7 @@ _register_cleanup "_cleanup" BUS _require_scratch _require_scrub +_require_xfs_io_command "repair" # online repair support _require_xfs_stress_scrub _require_populate_commands diff --git a/tests/xfs/556 b/tests/xfs/556 index f5ad90c869ba..022a8e674a5a 100755 --- a/tests/xfs/556 +++ b/tests/xfs/556 @@ -26,6 +26,7 @@ _cleanup() _require_scratch _require_scratch_xfs_crc _require_scrub +_require_xfs_io_command "repair" # online repair support _require_dm_target error filter_scrub_errors() { -- 2.54.0 ^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 2/2] xfs/349,xfs/556: both these tests require online repair in the kernel 2026-11-24 10:36 ` [PATCH 2/2] xfs/349,xfs/556: both these tests require online repair in the kernel Andrey Albershteyn @ 2026-11-24 20:20 ` Zorro Lang 2026-11-25 10:48 ` Andrey Albershteyn 0 siblings, 1 reply; 11+ messages in thread From: Zorro Lang @ 2026-11-24 20:20 UTC (permalink / raw) To: Andrey Albershteyn; +Cc: fstests, preichl On Tue, Nov 24, 2026 at 11:36:15AM +0100, Andrey Albershteyn wrote: > Both these tests run xfs_scrub without -n (scrub only, no repair), > therefore, scrub tries to repair found issues. However, without online > repair enabled in the kernel scrub exits with a message that online > repair is not supported, breaking the golden output. > > In the xfs/556 case, online repair will not repair anything but just > prints a message that unrepairable issue found. > > Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org> > --- > tests/xfs/349 | 1 + > tests/xfs/556 | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/tests/xfs/349 b/tests/xfs/349 > index a03ab812dc9e..0940ced42121 100755 > --- a/tests/xfs/349 > +++ b/tests/xfs/349 > @@ -18,6 +18,7 @@ _register_cleanup "_cleanup" BUS > > _require_scratch > _require_scrub > +_require_xfs_io_command "repair" # online repair support As neither of these two cases explicitly runs xfs_io -c "repair", I think the comment could briefly mention why the online repair command is needed, to prevent it from being accidentally removed in the future. Thanks, Zorro > _require_xfs_stress_scrub > _require_populate_commands > > diff --git a/tests/xfs/556 b/tests/xfs/556 > index f5ad90c869ba..022a8e674a5a 100755 > --- a/tests/xfs/556 > +++ b/tests/xfs/556 > @@ -26,6 +26,7 @@ _cleanup() > _require_scratch > _require_scratch_xfs_crc > _require_scrub > +_require_xfs_io_command "repair" # online repair support > _require_dm_target error > > filter_scrub_errors() { > -- > 2.54.0 > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 2/2] xfs/349,xfs/556: both these tests require online repair in the kernel 2026-11-24 20:20 ` Zorro Lang @ 2026-11-25 10:48 ` Andrey Albershteyn 2026-11-25 21:40 ` Zorro Lang 0 siblings, 1 reply; 11+ messages in thread From: Andrey Albershteyn @ 2026-11-25 10:48 UTC (permalink / raw) To: fstests, preichl On 2026-11-25 04:20:46, Zorro Lang wrote: > On Tue, Nov 24, 2026 at 11:36:15AM +0100, Andrey Albershteyn wrote: > > Both these tests run xfs_scrub without -n (scrub only, no repair), > > therefore, scrub tries to repair found issues. However, without online > > repair enabled in the kernel scrub exits with a message that online > > repair is not supported, breaking the golden output. > > > > In the xfs/556 case, online repair will not repair anything but just > > prints a message that unrepairable issue found. > > > > Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org> > > --- > > tests/xfs/349 | 1 + > > tests/xfs/556 | 1 + > > 2 files changed, 2 insertions(+) > > > > diff --git a/tests/xfs/349 b/tests/xfs/349 > > index a03ab812dc9e..0940ced42121 100755 > > --- a/tests/xfs/349 > > +++ b/tests/xfs/349 > > @@ -18,6 +18,7 @@ _register_cleanup "_cleanup" BUS > > > > _require_scratch > > _require_scrub > > +_require_xfs_io_command "repair" # online repair support > > As neither of these two cases explicitly runs xfs_io -c "repair", I think > the comment could briefly mention why the online repair command is needed, > to prevent it from being accidentally removed in the future. > > Thanks, > Zorro This could be probably be better wrapped into _require_xfs_online_repair then? -- - Andrey ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 2/2] xfs/349,xfs/556: both these tests require online repair in the kernel 2026-11-25 10:48 ` Andrey Albershteyn @ 2026-11-25 21:40 ` Zorro Lang 2026-11-26 10:12 ` Andrey Albershteyn 0 siblings, 1 reply; 11+ messages in thread From: Zorro Lang @ 2026-11-25 21:40 UTC (permalink / raw) To: Andrey Albershteyn; +Cc: fstests, preichl On Wed, Nov 25, 2026 at 11:48:48AM +0100, Andrey Albershteyn wrote: > On 2026-11-25 04:20:46, Zorro Lang wrote: > > On Tue, Nov 24, 2026 at 11:36:15AM +0100, Andrey Albershteyn wrote: > > > Both these tests run xfs_scrub without -n (scrub only, no repair), > > > therefore, scrub tries to repair found issues. However, without online > > > repair enabled in the kernel scrub exits with a message that online > > > repair is not supported, breaking the golden output. > > > > > > In the xfs/556 case, online repair will not repair anything but just > > > prints a message that unrepairable issue found. > > > > > > Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org> > > > --- > > > tests/xfs/349 | 1 + > > > tests/xfs/556 | 1 + > > > 2 files changed, 2 insertions(+) > > > > > > diff --git a/tests/xfs/349 b/tests/xfs/349 > > > index a03ab812dc9e..0940ced42121 100755 > > > --- a/tests/xfs/349 > > > +++ b/tests/xfs/349 > > > @@ -18,6 +18,7 @@ _register_cleanup "_cleanup" BUS > > > > > > _require_scratch > > > _require_scrub > > > +_require_xfs_io_command "repair" # online repair support > > > > As neither of these two cases explicitly runs xfs_io -c "repair", I think > > the comment could briefly mention why the online repair command is needed, > > to prevent it from being accidentally removed in the future. > > > > Thanks, > > Zorro > > This could be probably be better wrapped into > _require_xfs_online_repair then? Do you have any additional needs beyond calling _require_xfs_io_command repair directly? If not, maybe we can hold off on introducing _require_xfs_online_repair in this patch, since quite a few tests in fstests already use "_require_xfs_io_command repair" for online repair. Of course, if more specific requirements come up later, you're always very welcome to add dedicated helpers for online repair anytime. Thanks, Zorro > > -- > - Andrey > ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 2/2] xfs/349,xfs/556: both these tests require online repair in the kernel 2026-11-25 21:40 ` Zorro Lang @ 2026-11-26 10:12 ` Andrey Albershteyn 2026-11-26 16:32 ` Zorro Lang 0 siblings, 1 reply; 11+ messages in thread From: Andrey Albershteyn @ 2026-11-26 10:12 UTC (permalink / raw) To: fstests, preichl On 2026-11-26 05:40:24, Zorro Lang wrote: > On Wed, Nov 25, 2026 at 11:48:48AM +0100, Andrey Albershteyn wrote: > > On 2026-11-25 04:20:46, Zorro Lang wrote: > > > On Tue, Nov 24, 2026 at 11:36:15AM +0100, Andrey Albershteyn wrote: > > > > Both these tests run xfs_scrub without -n (scrub only, no repair), > > > > therefore, scrub tries to repair found issues. However, without online > > > > repair enabled in the kernel scrub exits with a message that online > > > > repair is not supported, breaking the golden output. > > > > > > > > In the xfs/556 case, online repair will not repair anything but just > > > > prints a message that unrepairable issue found. > > > > > > > > Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org> > > > > --- > > > > tests/xfs/349 | 1 + > > > > tests/xfs/556 | 1 + > > > > 2 files changed, 2 insertions(+) > > > > > > > > diff --git a/tests/xfs/349 b/tests/xfs/349 > > > > index a03ab812dc9e..0940ced42121 100755 > > > > --- a/tests/xfs/349 > > > > +++ b/tests/xfs/349 > > > > @@ -18,6 +18,7 @@ _register_cleanup "_cleanup" BUS > > > > > > > > _require_scratch > > > > _require_scrub > > > > +_require_xfs_io_command "repair" # online repair support > > > > > > As neither of these two cases explicitly runs xfs_io -c "repair", I think > > > the comment could briefly mention why the online repair command is needed, > > > to prevent it from being accidentally removed in the future. > > > > > > Thanks, > > > Zorro > > > > This could be probably be better wrapped into > > _require_xfs_online_repair then? > > Do you have any additional needs beyond calling _require_xfs_io_command > repair directly? If not, maybe we can hold off on introducing > _require_xfs_online_repair in this patch, since quite a few tests in fstests > already use "_require_xfs_io_command repair" for online repair. > > Of course, if more specific requirements come up later, you're always > very welcome to add dedicated helpers for online repair anytime. The line: _require_xfs_io_command "repair" # online repair support is in the test to check that kernel supports "online repair", nothing else. If online repair is not supported the xfs_scrub will output different message. So, how do you see it, should I keep it like this? -- - Andrey ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 2/2] xfs/349,xfs/556: both these tests require online repair in the kernel 2026-11-26 10:12 ` Andrey Albershteyn @ 2026-11-26 16:32 ` Zorro Lang 0 siblings, 0 replies; 11+ messages in thread From: Zorro Lang @ 2026-11-26 16:32 UTC (permalink / raw) To: Andrey Albershteyn; +Cc: fstests, preichl On Thu, Nov 26, 2026 at 11:12:39AM +0100, Andrey Albershteyn wrote: > On 2026-11-26 05:40:24, Zorro Lang wrote: > > On Wed, Nov 25, 2026 at 11:48:48AM +0100, Andrey Albershteyn wrote: > > > On 2026-11-25 04:20:46, Zorro Lang wrote: > > > > On Tue, Nov 24, 2026 at 11:36:15AM +0100, Andrey Albershteyn wrote: > > > > > Both these tests run xfs_scrub without -n (scrub only, no repair), > > > > > therefore, scrub tries to repair found issues. However, without online > > > > > repair enabled in the kernel scrub exits with a message that online > > > > > repair is not supported, breaking the golden output. > > > > > > > > > > In the xfs/556 case, online repair will not repair anything but just > > > > > prints a message that unrepairable issue found. > > > > > > > > > > Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org> > > > > > --- > > > > > tests/xfs/349 | 1 + > > > > > tests/xfs/556 | 1 + > > > > > 2 files changed, 2 insertions(+) > > > > > > > > > > diff --git a/tests/xfs/349 b/tests/xfs/349 > > > > > index a03ab812dc9e..0940ced42121 100755 > > > > > --- a/tests/xfs/349 > > > > > +++ b/tests/xfs/349 > > > > > @@ -18,6 +18,7 @@ _register_cleanup "_cleanup" BUS > > > > > > > > > > _require_scratch > > > > > _require_scrub > > > > > +_require_xfs_io_command "repair" # online repair support > > > > > > > > As neither of these two cases explicitly runs xfs_io -c "repair", I think > > > > the comment could briefly mention why the online repair command is needed, > > > > to prevent it from being accidentally removed in the future. > > > > > > > > Thanks, > > > > Zorro > > > > > > This could be probably be better wrapped into > > > _require_xfs_online_repair then? > > > > Do you have any additional needs beyond calling _require_xfs_io_command > > repair directly? If not, maybe we can hold off on introducing > > _require_xfs_online_repair in this patch, since quite a few tests in fstests > > already use "_require_xfs_io_command repair" for online repair. > > > > Of course, if more specific requirements come up later, you're always > > very welcome to add dedicated helpers for online repair anytime. > > The line: > > _require_xfs_io_command "repair" # online repair support > > is in the test to check that kernel supports "online repair", > nothing else. > > If online repair is not supported the xfs_scrub will output > different message. For example, if the line above ^^ is the reason why the online repair feature is required, you can say: # If online repair is not enabled in the kernel, _scratch_scrub will output # different messages and break the golden image _require_xfs_io_command "repair" Of course, feel free to replace this comment if you have a better explanation. I just wanted to make it clear why a test case that doesn't explicitly run online repair still requires online repair support. (After all, on the surface, this test just calls _scratch_scrub, and by default _scratch_scrub should only run an online check without actually doing a repair, right? ) Thanks, Zorro > > So, how do you see it, should I keep it like this? > > -- > - Andrey > ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2026-11-26 16:32 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-11-24 10:36 [PATCH 0/2] Hints for tests failing on older kernel/xfsprogs Andrey Albershteyn 2026-11-24 10:36 ` [PATCH 1/2] generic/453,generic/454: add a hint for the missing xfsprogs commit Andrey Albershteyn 2026-11-24 20:16 ` Zorro Lang 2026-11-25 10:35 ` Andrey Albershteyn 2026-11-25 21:31 ` Zorro Lang 2026-11-24 10:36 ` [PATCH 2/2] xfs/349,xfs/556: both these tests require online repair in the kernel Andrey Albershteyn 2026-11-24 20:20 ` Zorro Lang 2026-11-25 10:48 ` Andrey Albershteyn 2026-11-25 21:40 ` Zorro Lang 2026-11-26 10:12 ` Andrey Albershteyn 2026-11-26 16:32 ` Zorro Lang
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox