[PATCH 0/2] nvme-passthru with vectored-io

Kanchan Joshi joshi.k at samsung.com
Thu Jan 27 00:25:34 PST 2022


NVMe passthru takes a single buffer pointer.
This enables using multiple buffers for passthru, similiar to
readv/writev.

First patch is prep, while second one adds vectored-io abililty to
NVME_IOCTL_IO64_CMD.

Kanchan Joshi (2):
  block: introduce and export blk_rq_map_user_vec
  nvme: add vectored-io support for user passthru

 block/blk-map.c                 | 19 +++++++++++++++++++
 drivers/nvme/host/ioctl.c       |  9 ++++++---
 include/linux/blk-mq.h          |  2 ++
 include/uapi/linux/nvme_ioctl.h |  4 ++++
 4 files changed, 31 insertions(+), 3 deletions(-)

-- 
2.25.1




More information about the Linux-nvme mailing list