mbox series

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

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

Message

Jens Axboe Oct. 31, 2024, 1:44 a.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.

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