Skip to content

io_uring_cmd engine extende LBA fixes and cleanup

Ankit Kumar fio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1engines/io_uring: io_uring_cmd engine cleanup and fixesengines/io_uring.c engines/nvme.c engines/nvme.h+75 -162 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] io_uring_cmd engine extende LBA fixes and cleanup

The io_uring_cmd ioengine assumes that logical block size is power of 2. In case of extended LBA where metadata is transferred as part of LBA this is not correct. Use division operation for that. The existing calculation for power of 2 LBA remains the same.

The current implementation doesn't support protection info and metadata transferred as separate buffer, return error for these scenarios.

Add checks to verify that block sizes are multiple of LBA size. Add support for 64 LBA formats as per the latest NVM command set specification.

Ankit Kumar (1):
engines/io_uring: io_uring_cmd engine cleanup and fixes

 engines/io_uring.c | 31 +++++++++++++++++++++----
 engines/nvme.c     | 57 +++++++++++++++++++++++++++++++++++++---------
 engines/nvme.h     |  3 ++-
 3 files changed, 75 insertions(+), 16 deletions(-)
Signature · 1 line
2.25.1