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

klayph at gmail.com klayph at gmail.com
Tue Jan 5 17:49:37 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
device queue.  The second patch exposes it through an
nvme ioctl so a cmp/write 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

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

 drivers/nvme/host/core.c | 261 ++++++++++++++++++++++++++++++---------
 drivers/nvme/host/nvme.h |   2 +
 drivers/nvme/host/pci.c  |  32 ++++-
 3 files changed, 234 insertions(+), 61 deletions(-)

-- 
2.27.0




More information about the Linux-nvme mailing list