public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCH v2 0/2] cmd infra for caching iovec/bvec
@ 2025-03-21 18:04 Pavel Begunkov
  2025-03-21 18:04 ` [PATCH v2 1/2] io_uring/cmd: add iovec cache for commands Pavel Begunkov
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Pavel Begunkov @ 2025-03-21 18:04 UTC (permalink / raw)
  To: io-uring; +Cc: asml.silence

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(-)

-- 
2.48.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-03-22 12:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-21 18:04 [PATCH v2 0/2] cmd infra for caching iovec/bvec Pavel Begunkov
2025-03-21 18:04 ` [PATCH v2 1/2] io_uring/cmd: add iovec cache for commands Pavel Begunkov
2025-03-21 18:04 ` [PATCH v2 2/2] io_uring/cmd: introduce io_uring_cmd_import_fixed_vec Pavel Begunkov
2025-03-21 19:13 ` [PATCH v2 0/2] cmd infra for caching iovec/bvec Jens Axboe
2025-03-22  9:42   ` Ming Lei
2025-03-22 12:09     ` Pavel Begunkov
2025-03-21 19:45 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox