Skip to content

RFC big-cqe based uring-passthru

Kanchan Joshi io-uring linux-nvme 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5io_uring: add support for 128-byte SQEsfs/io_uring.c include/uapi/linux/io_uring.h+17 -30 replies
2/5fs: add file_operations->async_cmd()include/linux/fs.h+2 -01 reply
3/5io_uring: add infra and support for IORING_OP_URING_CMDfs/io_uring.c include/linux/io_uring.h include/uapi/linux/io_uring.h+108 -87 replies
4/5io_uring: add support for big-cqefs/io_uring.c include/linux/io_uring.h include/uapi/linux/io_uring.h+87 -162 replies
5/5nvme: wire-up support for async-passthru on char-device.drivers/nvme/host/core.c drivers/nvme/host/ioctl.c drivers/nvme/host/multipath.c +1 more+161 -3110 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC 0/5] big-cqe based uring-passthru

So this is a trimmed-down series primarily to test the waters with 32-byte CQE (patch 4).
This big-cqe is created by combining two adjacent 16b CQEs. And that is done when ring is setup with IORING_SETUP_CQE32 flag.

nvme-passthru sends one result to bigcqe->res and another result (8 bytes) gets updated to bigcqe->res2.
As always, fio is modified to test the interface:
https://github.com/joshkan/fio/tree/big-cqe

Limited testing ATM, as plumbing itself is in early stage with patch 4. Patches are against for-next (linux-block),
on top of 9e9d83faa ("io_uring: Remove unneeded test in io_run_task_work_sig")

Jens Axboe (3):
io_uring: add support for 128-byte SQEs
fs: add file_operations->async_cmd()
io_uring: add infra and support for IORING_OP_URING_CMD

Kanchan Joshi (2):
io_uring: add support for big-cqe
nvme: wire-up support for async-passthru on char-device.

 drivers/nvme/host/core.c      |   1 +
 drivers/nvme/host/ioctl.c     | 187 ++++++++++++++++++++++++++++------
 drivers/nvme/host/multipath.c |   1 +
 drivers/nvme/host/nvme.h      |   3 +
 fs/io_uring.c                 | 168 ++++++++++++++++++++++++++----
 include/linux/fs.h            |   2 +
 include/linux/io_uring.h      |  33 ++++++
 include/uapi/linux/io_uring.h |  26 ++++-
 8 files changed, 369 insertions(+), 52 deletions(-)
Signature · 1 line
2.25.1