mbox series

[PATCHSET,0/2] Add support for cloning partial buffer sets

Message ID 20241030165556.64918-1-axboe@kernel.dk (mailing list archive)
Headers show
Series Add support for cloning partial buffer sets | expand

Message

Jens Axboe Oct. 30, 2024, 4:54 p.m. UTC
Hi,

6.12 added buffer cloning support, but it's an all-or-nothing kind of
thing - if there's an existing buffer table in the destination ring,
then nothing can be cloned to it.

This adds support for cloning partial buffer sets, specifying a
source/dest offset and the number of buffers to clone. And it allows
cloning to replace existing nodes as well, specified with a separate
flag.

 include/uapi/linux/io_uring.h |  8 +++--
 io_uring/rsrc.c               | 60 +++++++++++++++++++++++++++++------
 2 files changed, 56 insertions(+), 12 deletions(-)