mbox series

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

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

Message

Keith Busch Feb. 18, 2025, 10:42 p.m. UTC
From: Keith Busch <kbusch@kernel.org>

Changes from v3:

  Fixed putting the imu back in the cache on free instead of releasing
  it to the system (Caleb)

  Fixed the build bisect breakage (Caleb)

  Use appropriate error value if cache initialization fails (Caleb)

  Check data direction when importing the buffer (Ming)

  Using the array_no_spec accessor when using a user index (Pavel)

  Various cleanups

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                | 266 ++++++++++++++++++++++++++-------
 io_uring/rsrc.h                |   6 +-
 io_uring/rw.c                  |  45 ++++--
 io_uring/uring_cmd.c           |  16 +-
 14 files changed, 419 insertions(+), 167 deletions(-)