[PATCH 0/3] uring-passthrough for admin commands

Kanchan Joshi joshi.k at samsung.com
Mon May 16 22:31:44 PDT 2022


During the review rounds and LSFMM, it emerged that uring-passthrough
for admin-commands will also be useful. So this series wires that up.

Prepared against for-next (linux-block) on top of
commit cef3f8e4ed04 (Merge branch 'for-5.19/block'...).

Patch 1 is prep.
Patch 2 adds new opcode for admin uring-passthrough, and enables it over
ns char device (/dev/ngXnY). It reuses the code of io-command
passthrough, with the only difference that commands are issued on admin
queue.

Patch 3 enables the same for controller char device (/dev/nvmeX).

Kanchan Joshi (3):
  nvme: helper for uring-passthrough checks
  nvme: enable uring-passthrough for admin commands
  nvme: admin command uring-passthrough on controller node

 drivers/nvme/host/core.c        |  1 +
 drivers/nvme/host/ioctl.c       | 83 +++++++++++++++++++++++++++++----
 drivers/nvme/host/nvme.h        |  1 +
 include/uapi/linux/nvme_ioctl.h |  1 +
 4 files changed, 77 insertions(+), 9 deletions(-)

-- 
2.25.1




More information about the Linux-nvme mailing list