Skip to content

io_uring_cmd cleanup and fixes

Ankit Kumar fio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 2 repliesIn review

Changes in v2 from the cover letter

* Split the original patch into 2 as suggested by Vincent and Jens
* Address all review comments from Vincent

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2engines/nvme: support for 64 LBA formatsengines/nvme.c engines/nvme.h+14 -30 replies
2/2engines/io_uring: io_uring_cmd engine fixesengines/io_uring.c engines/nvme.c engines/nvme.h+70 -150 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/2] io_uring_cmd cleanup and fixes

The NVM command set specification 1.0c supports 64 LBA formats. The first patch adds support for that.

The io_uring_cmd ioengine assumes that logical block size is always power of 2. But with namespace formats where metadata is transferred at the end of logical block i.e. an extended logical block this is not true.
This second patch adds the support for extended logical block sizes. This however doesn't include support for protection info and metadata transferred as separate buffer, we return error for those.

Changes from v1:
* Split the original patch into 2 as suggested by Vincent and Jens
* Address all review comments from Vincent

Ankit Kumar (2):
engines/nvme: support for 64 LBA formats
engines/io_uring: io_uring_cmd engine fixes

 engines/io_uring.c | 30 ++++++++++++++++++---
 engines/nvme.c     | 66 ++++++++++++++++++++++++++++++++++++++--------
 engines/nvme.h     |  6 ++---
 3 files changed, 84 insertions(+), 18 deletions(-)
Signature · 1 line
2.25.1