[PATCH v2 0/2] uring-passthrough for admin commands

Kanchan Joshi joshi.k at samsung.com
Thu May 19 21:55:58 PDT 2022


The series enables uring-passthrough for admin-commands.

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

Changes since v1:
- drop the code that supports this op over ns char device
- apply reviewed-by tag

Kanchan Joshi (2):
  nvme: helper for uring-passthrough checks
  nvme: enable uring-passthrough for admin commands

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

-- 
2.25.1




More information about the Linux-nvme mailing list