Skip to content

io_uring passthough for nvme

Pankaj Raghav io-uring linux-nvme 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest5 patches 8 repliesIn review

Changes in v3 from the cover letter

- Rewire uring-cmd infrastructure on top of new big CQE
- Prep patch (refactored) and feedback from Christoph
- Add new opcode and structure in nvme for uring-cmd
- Enable vectored-io

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5fs,io_uring: add infrastructure for uring-cmdfs/io_uring.c include/linux/fs.h include/linux/io_uring.h +1 more+112 -85 replies
2/5block: wire-up support for passthrough pluggingblock/blk-mq.c+47 -431 reply
3/5nvme: refactor nvme_submit_user_cmd()drivers/nvme/host/ioctl.c+42 -50 replies
4/5nvme: wire-up uring-cmd support for io-passthru on char-device.drivers/nvme/host/core.c drivers/nvme/host/ioctl.c drivers/nvme/host/multipath.c +2 more+193 -31 reply
5/5nvme: add vectored-io support for uring-cmddrivers/nvme/host/ioctl.c include/uapi/linux/nvme_ioctl.h+11 -41 reply

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/5
2/5R-b
3/5
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/5] io_uring passthough for nvme

From: Kanchan Joshi <[email protected]>

NOTE: Sending on behalf of Kanchan as he is having some trouble sending emails.

This iteration is against io_uring-big-sqe brach (linux-block). On top of a739b2354 ("io_uring: enable CQE32").

fio testing branch:
https://github.com/joshkan/fio/tree/big-cqe-pt.v3

Changes since v2:
- Rewire uring-cmd infrastructure on top of new big CQE
- Prep patch (refactored) and feedback from Christoph
- Add new opcode and structure in nvme for uring-cmd
- Enable vectored-io

Changes since v1:
https://lore.kernel.org/linux-nvme/[email protected]/
- Trim down by removing patches for polling, fixed-buffer and bio-cache
- Add big CQE and move uring-cmd to use that
- Remove indirect (pointer) submission

v1:
https://lore.kernel.org/linux-nvme/[email protected]/

Anuj Gupta (1):
nvme: add vectored-io support for uring-cmd

Christoph Hellwig (1):
nvme: refactor nvme_submit_user_cmd()

Jens Axboe (2):
fs,io_uring: add infrastructure for uring-cmd
block: wire-up support for passthrough plugging

Kanchan Joshi (1):
nvme: wire-up uring-cmd support for io-passthru on char-device.

 block/blk-mq.c                  |  90 +++++++-------
 drivers/nvme/host/core.c        |   1 +
 drivers/nvme/host/ioctl.c       | 212 +++++++++++++++++++++++++++++++-
 drivers/nvme/host/multipath.c   |   1 +
 drivers/nvme/host/nvme.h        |   3 +
 fs/io_uring.c                   |  81 ++++++++++--
 include/linux/fs.h              |   2 +
 include/linux/io_uring.h        |  29 +++++
 include/uapi/linux/io_uring.h   |   8 +-
 include/uapi/linux/nvme_ioctl.h |  29 +++++
 10 files changed, 399 insertions(+), 57 deletions(-)
Signature · 1 line
2.25.1