From: Chana-Zaks-wdc Date: Thu, 18 Apr 2024 09:22:23 +0000 (+0300) Subject: test: add test for readwrite issue X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=c6e2a258fbac28f6f421eef1a3be2e5ad5f5a01e test: add test for readwrite issue test the previous commit: Don’t break too early in readwrite mode In rw mode if io_size > size An early reset of the addresses occurred. Make sure all addresses are done correctly. Signed-off-by: Chana-Zaks-wdc Link: https://lore.kernel.org/r/20240418092222.20543-3-chana.zaks@wdc.com Signed-off-by: Jens Axboe --- diff --git a/t/jobs/t0032-43063a1c.fio b/t/jobs/t0032-43063a1c.fio new file mode 100644 index 00000000..db998e5b --- /dev/null +++ b/t/jobs/t0032-43063a1c.fio @@ -0,0 +1,12 @@ +# Expected results: max offset is ~1280K +# Buggy result: max offset is ~640K +# + +[global] +ioengine=null +size=1280K +io_size=2560k +bs=128K + +[test1] +rw=rw