public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 0/2] blktests: add tests with offsets
@ 2025-11-19 19:54 Keith Busch
  2025-11-19 19:54 ` [PATCHv2 1/2] blktests: test direct io offsets Keith Busch
  2025-11-19 19:54 ` [PATCHv2 2/2] blktests: test io_uring user metadata offsets Keith Busch
  0 siblings, 2 replies; 12+ messages in thread
From: Keith Busch @ 2025-11-19 19:54 UTC (permalink / raw)
  To: linux-block, shinichiro.kawasaki; +Cc: chaitanyak, Keith Busch

From: Keith Busch <kbusch@kernel.org>

Here are the tests I've been using to check the kernel's handling for IO
using non-block aligned memory offsets for data and metadata.

Changes for the previous version:

  - Combining the io_uring metadata test in one series

  - Removed all the extra code that tries to discover the queue limits
    from the file path. The test case will simply pass these through
    from sysfs attributes that it knows about.

  - Removed the linux kernel version specific checks to decide if a test
    should pass or fail. We just assume a failure means the kernel
    doesn't support it and carry on.

  - Fixed up the test dependencies for the metadata test, and wording

  - Fixed up requests from previous review comments.

Keith Busch (2):
  blktests: test direct io offsets
  blktests: test io_uring user metadata offsets

 src/.gitignore      |   2 +
 src/Makefile        |  17 +-
 src/dio-offsets.c   | 708 ++++++++++++++++++++++++++++++++++++++++++++
 src/metadata.c      | 488 ++++++++++++++++++++++++++++++
 tests/block/042     |  26 ++
 tests/block/042.out |   2 +
 tests/block/043     |  33 +++
 tests/block/043.out |   2 +
 8 files changed, 1270 insertions(+), 8 deletions(-)
 create mode 100644 src/dio-offsets.c
 create mode 100644 src/metadata.c
 create mode 100644 tests/block/042
 create mode 100644 tests/block/042.out
 create mode 100755 tests/block/043
 create mode 100644 tests/block/043.out

-- 
2.47.3


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

end of thread, other threads:[~2025-12-02 10:22 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-19 19:54 [PATCHv2 0/2] blktests: add tests with offsets Keith Busch
2025-11-19 19:54 ` [PATCHv2 1/2] blktests: test direct io offsets Keith Busch
2025-11-19 23:39   ` Chaitanya Kulkarni
2025-11-19 23:48   ` Chaitanya Kulkarni
2025-11-19 23:59     ` Keith Busch
2025-11-20  0:56       ` Chaitanya Kulkarni
2025-11-20 14:32         ` Keith Busch
2025-11-25 11:26   ` Shinichiro Kawasaki
2025-11-25 16:42     ` Keith Busch
2025-12-02 10:22       ` Shinichiro Kawasaki
2025-11-19 19:54 ` [PATCHv2 2/2] blktests: test io_uring user metadata offsets Keith Busch
2025-11-19 23:39   ` Chaitanya Kulkarni

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