Skip to content

Commit

Permalink
test: add test for readwrite issue
Browse files Browse the repository at this point in the history
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 <chana.zaks@wdc.com>
Link: https://lore.kernel.org/r/20240418092222.20543-3-chana.zaks@wdc.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
Chana-Zaks-wdc authored and axboe committed Apr 18, 2024
1 parent d782b76 commit c6e2a25
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions t/jobs/t0032-43063a1c.fio
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c6e2a25

Please sign in to comment.