Skip to content

cmd infra for caching iovec/bvec

Pavel Begunkov io-uring 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 4 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2io_uring/cmd: add iovec cache for commandsio_uring/io_uring.c io_uring/opdef.c io_uring/uring_cmd.c +1 more+28 -30 replies
2/2io_uring/cmd: introduce io_uring_cmd_import_fixed_vecinclude/linux/io_uring/cmd.h io_uring/uring_cmd.c io_uring/uring_cmd.h+38 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] cmd infra for caching iovec/bvec

Add infrastructure that is going to be used by commands for importing vectored registered buffers. It can also be reused later for iovec caching.

v2: clear the vec on first ->async_data allocation
fix a memory leak

Pavel Begunkov (2):
io_uring/cmd: add iovec cache for commands io_uring/cmd: introduce io_uring_cmd_import_fixed_vec

 include/linux/io_uring/cmd.h | 13 ++++++++++++
 io_uring/io_uring.c          |  5 +++--
 io_uring/opdef.c             |  1 +
 io_uring/uring_cmd.c         | 39 +++++++++++++++++++++++++++++++++++-
 io_uring/uring_cmd.h         | 11 ++++++++++
 5 files changed, 66 insertions(+), 3 deletions(-)
Signature · 1 line
2.48.1