mbox series

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

Message ID 20220127082536.7243-1-joshi.k@samsung.com (mailing list archive)
Headers show
Series nvme-passthru with vectored-io | expand

Message

Kanchan Joshi Jan. 27, 2022, 8:25 a.m. UTC
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(-)