public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH blktests] common/fio: ignore fio messages about random generator selection
@ 2026-01-27 10:07 Shin'ichiro Kawasaki
  2026-02-05 10:14 ` Shinichiro Kawasaki
  0 siblings, 1 reply; 2+ messages in thread
From: Shin'ichiro Kawasaki @ 2026-01-27 10:07 UTC (permalink / raw)
  To: linux-block; +Cc: Shin'ichiro Kawasaki

The latest fio after the commit 1d282baecd68 ("fio: make sure that child
process output is comitted") often prints the warning messages about
random generator selection:

    fio: file test.0.0 exceeds 32-bit tausworthe random generator.
    fio: Switching to tausworthe64. Use the random_generator= option to get rid of this warning.

This causes fio output parse failure at the test case block/004. To
avoid the failure, ignore the messages.

Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
---
 common/fio | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/common/fio b/common/fio
index 91f4b23..8d95e5a 100644
--- a/common/fio
+++ b/common/fio
@@ -229,7 +229,9 @@ _fio_perf_report() {
 			echo "_fio_perf: too many terse lines" >&2
 			return
 		fi
-	} <"$TMPDIR/fio_perf"
+		# Fio often spits out message about random generator switch from
+		# tausworthe to tausworthe64. Ignore the message.
+	} < <(grep --invert-match tausworthe "$TMPDIR/fio_perf")
 
 	for name in "${FIO_PERF_FIELDS[@]}"; do
 		field="${FIO_TERSE_FIELDS["$name"]}"
-- 
2.52.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH blktests] common/fio: ignore fio messages about random generator selection
  2026-01-27 10:07 [PATCH blktests] common/fio: ignore fio messages about random generator selection Shin'ichiro Kawasaki
@ 2026-02-05 10:14 ` Shinichiro Kawasaki
  0 siblings, 0 replies; 2+ messages in thread
From: Shinichiro Kawasaki @ 2026-02-05 10:14 UTC (permalink / raw)
  To: linux-block@vger.kernel.org

On Jan 27, 2026 / 19:07, Shin'ichiro Kawasaki wrote:
> The latest fio after the commit 1d282baecd68 ("fio: make sure that child
> process output is comitted") often prints the warning messages about
> random generator selection:
> 
>     fio: file test.0.0 exceeds 32-bit tausworthe random generator.
>     fio: Switching to tausworthe64. Use the random_generator= option to get rid of this warning.
> 
> This causes fio output parse failure at the test case block/004. To
> avoid the failure, ignore the messages.
> 
> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>

FYI, I applied this patch.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-02-05 10:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-27 10:07 [PATCH blktests] common/fio: ignore fio messages about random generator selection Shin'ichiro Kawasaki
2026-02-05 10:14 ` Shinichiro Kawasaki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox