Flexible I/O Tester development
 help / color / mirror / Atom feed
* [PATCH v2 0/4] fix experimental verify
@ 2022-10-20  6:38 Shin'ichiro Kawasaki
  2022-10-20  6:38 ` [PATCH v2 1/4] verify: fix bytes_done accounting of " Shin'ichiro Kawasaki
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Shin'ichiro Kawasaki @ 2022-10-20  6:38 UTC (permalink / raw)
  To: fio, Jens Axboe, Vincent Fu
  Cc: Damien Le Moal, Dmitry Fomichev, Niklas Cassel,
	Shin'ichiro Kawasaki

Recently I noticed that verify workload with --experimental_verify option does
not read back verify data. I confirmed it with simple job below:

  [job]
  filename=t0025file
  size=128k
  readwrite=write
  do_verify=1
  verify=md5
  experimental_verify=1

Fio reported as follows. No read for verify data.

  Run status group 0 (all jobs):
     READ: bw=0B/s (0B/s), 0B/s-0B/s (0B/s-0B/s), io=0B (0B), run=1-1msec
     WRITE: bw=41.7MiB/s (43.7MB/s), 41.7MiB/s-41.7MiB/s (43.7MB/s-43.7MB/s)...

The debug log trace with --debug=io,verify option showed no verify data read
either. It indicates that experimental verify is not working as expected.

This series addresses two issues to make experimental verify work again. Also
add two test cases to confirm the issue fixes.

Of note is that this series makes test case #54 of t/zbd/test-zbd-support fail.
I'm preparing another series to address it as well as other verify issues
related to zonemode=zbd.

Changes from v1:
* Reflected comments on the list to patch 3 and 4

Shin'ichiro Kawasaki (4):
  verify: fix bytes_done accounting of experimental verify
  verify: fix numberio accounting of experimental verify
  test: add test for verify read back of experimental verify
  test: add test for experimental verify with loops and time_based
    options

 backend.c          |  8 ++++++--
 fio.h              |  2 ++
 io_u.c             | 23 +++++++++++++++++------
 libfio.c           |  1 +
 rate-submit.c      |  2 ++
 t/jobs/t0025.fio   |  8 ++++++++
 t/jobs/t0026.fio   | 20 ++++++++++++++++++++
 t/run-fio-tests.py | 31 +++++++++++++++++++++++++++++++
 verify.c           |  2 --
 9 files changed, 87 insertions(+), 10 deletions(-)
 create mode 100644 t/jobs/t0025.fio
 create mode 100644 t/jobs/t0026.fio

-- 
2.37.1


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

end of thread, other threads:[~2022-10-24 20:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-20  6:38 [PATCH v2 0/4] fix experimental verify Shin'ichiro Kawasaki
2022-10-20  6:38 ` [PATCH v2 1/4] verify: fix bytes_done accounting of " Shin'ichiro Kawasaki
2022-10-20  6:38 ` [PATCH v2 2/4] verify: fix numberio " Shin'ichiro Kawasaki
2022-10-20  6:38 ` [PATCH v2 3/4] test: add test for verify read back " Shin'ichiro Kawasaki
2022-10-20  6:38 ` [PATCH v2 4/4] test: add test for experimental verify with loops and time_based options Shin'ichiro Kawasaki
2022-10-24 18:26 ` [PATCH v2 0/4] fix experimental verify Vincent Fu

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