From: Chana Zaks <chana.zaks@wdc.com>
To: Jens, Axboe, axboe@kernel.dk, Vincent Fu <vincent.fu@samsung.com>
Cc: fio@vger.kernel.org, Chana-Zaks-wdc <chana.zaks@wdc.com>
Subject: [PATCH 2/2] test: add test for readwrite issue
Date: Thu, 18 Apr 2024 12:22:23 +0300 [thread overview]
Message-ID: <20240418092222.20543-3-chana.zaks@wdc.com> (raw)
In-Reply-To: <20240418092222.20543-1-chana.zaks@wdc.com>
From: Chana-Zaks-wdc <chana.zaks@wdc.com>
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>
---
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 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
--
2.25.1
next prev parent reply other threads:[~2024-04-18 9:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-18 9:22 [PATCH 0/2] Fix bug with rw sequence offset and io-size Chana Zaks
2024-04-18 9:22 ` [PATCH 1/2] Don break too early in readwrite mode Chana Zaks
2024-04-18 9:22 ` Chana Zaks [this message]
2024-04-18 15:29 ` [PATCH 0/2] Fix bug with rw sequence offset and io-size Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240418092222.20543-3-chana.zaks@wdc.com \
--to=chana.zaks@wdc.com \
--cc=axboe@kernel.dk \
--cc=fio@vger.kernel.org \
--cc=vincent.fu@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.