mbox series

[PATCHv3,0/5] ublk zero-copy support

Message ID 20250214154348.2952692-1-kbusch@meta.com (mailing list archive)
Headers show
Series ublk zero-copy support | expand

Message

Keith Busch Feb. 14, 2025, 3:43 p.m. UTC
From: Keith Busch <kbusch@kernel.org>

Changes from v2:

 This one allows you to use the IOSQE_LINK_FLAG so you can strictly
 order the sequence.

 No special "KBUF" node type. We use the 'release' callback to tell the
 difference now.

 Moved the 'release' callback from the node to the imu where it belongs.

Keith Busch (5):
  io_uring: move fixed buffer import to issue path
  io_uring: add support for kernel registered bvecs
  ublk: zc register/unregister bvec
  io_uring: add abstraction for buf_table rsrc data
  io_uring: cache nodes and mapped buffers

 drivers/block/ublk_drv.c       | 137 +++++++++++++-----
 include/linux/io_uring.h       |   1 +
 include/linux/io_uring_types.h |  33 +++--
 include/uapi/linux/ublk_cmd.h  |   4 +
 io_uring/fdinfo.c              |   8 +-
 io_uring/filetable.c           |   2 +-
 io_uring/io_uring.c            |  19 +++
 io_uring/net.c                 |  25 +---
 io_uring/nop.c                 |  22 +--
 io_uring/register.c            |   2 +-
 io_uring/rsrc.c                | 257 ++++++++++++++++++++++++++-------
 io_uring/rsrc.h                |   4 +-
 io_uring/rw.c                  |  45 ++++--
 io_uring/uring_cmd.c           |  16 +-
 14 files changed, 409 insertions(+), 166 deletions(-)