public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCHSET v2 0/2] Add support for cloning partial buffer sets
@ 2024-10-31  1:44 Jens Axboe
  2024-10-31  1:44 ` [PATCH 1/2] io_uring/rsrc: allow cloning at an offset Jens Axboe
  2024-10-31  1:44 ` [PATCH 2/2] io_uring/rsrc: allow cloning with node replacements Jens Axboe
  0 siblings, 2 replies; 3+ messages in thread
From: Jens Axboe @ 2024-10-31  1:44 UTC (permalink / raw)
  To: io-uring

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.

Changes since v1:
- Rebase on current tree (no rsrc_empty_node)
- Rewrite the replacement code to be much simpler
- Write more test cases

-- 
Jens Axboe


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

end of thread, other threads:[~2024-10-31  1:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-31  1:44 [PATCHSET v2 0/2] Add support for cloning partial buffer sets Jens Axboe
2024-10-31  1:44 ` [PATCH 1/2] io_uring/rsrc: allow cloning at an offset Jens Axboe
2024-10-31  1:44 ` [PATCH 2/2] io_uring/rsrc: allow cloning with node replacements Jens Axboe

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