From c6e2a258fbac28f6f421eef1a3be2e5ad5f5a01e Mon Sep 17 00:00:00 2001 From: Chana-Zaks-wdc Date: Thu, 18 Apr 2024 12:22:23 +0300 Subject: [PATCH] test: add test for readwrite issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- t/jobs/t0032-43063a1c.fio | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 t/jobs/t0032-43063a1c.fio diff --git a/t/jobs/t0032-43063a1c.fio b/t/jobs/t0032-43063a1c.fio new file mode 100644 index 0000000000..db998e5bec --- /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