Skip to content

Commit b5b6993

Browse files
committed
common/fio: ignore fio messages about random generator selection
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 <[email protected]>
1 parent a94b770 commit b5b6993

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

common/fio

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,9 @@ _fio_perf_report() {
229229
echo "_fio_perf: too many terse lines" >&2
230230
return
231231
fi
232-
} <"$TMPDIR/fio_perf"
232+
# Fio often spits out message about random generator switch from
233+
# tausworthe to tausworthe64. Ignore the message.
234+
} < <(grep --invert-match tausworthe "$TMPDIR/fio_perf")
233235

234236
for name in "${FIO_PERF_FIELDS[@]}"; do
235237
field="${FIO_TERSE_FIELDS["$name"]}"

0 commit comments

Comments
 (0)