[PATCH V2 0/2] nvme: Support for fused NVME_IOCTL_SUBMIT_IO

clay.mayers at kioxia.com clay.mayers at kioxia.com
Mon Jan 25 14:58:42 EST 2021


From: Clay Mayers <clay.mayers at kioxia.com>

Enables fused compare/write to be issued from user mode.

The first patch allows a pair of pass through requests
to be linked and submitted as a fused pair to the nvme
pci device queue.  The second patch exposes it through
an nvme ioctl so a fused pair can be issued from user
mode.

There was a question regarding Linux support for this
functionality in nvme-cli.  With these patches, that
would be possible.

https://github.com/linux-nvme/nvme-cli/issues/318

Local pci device fused support is also necessary for
NVMeOF targets to support fused operation.

Clay Mayers (2):
  nvme: support fused pci nvme requests
  nvme: support fused NVME_IOCTL_SUBMIT_IO

 drivers/nvme/host/core.c | 267 ++++++++++++++++++++++++++++++---------
 drivers/nvme/host/nvme.h |  12 ++
 drivers/nvme/host/pci.c  |  85 ++++++++++++-
 3 files changed, 302 insertions(+), 62 deletions(-)

-- 
2.27.0




More information about the Linux-nvme mailing list