Skip to content
Commit b16e920a authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring/rsrc: allow cloning at an offset



Right now buffer cloning is an all-or-nothing kind of thing - either the
whole table is cloned from a source to a destination ring, or nothing at
all.

However, it's not always desired to clone the whole thing. Allow for
the application to specify a source and destination offset, and a
number of buffers to clone. If the destination offset is non-zero, then
allocate sparse nodes upfront.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent d50f94d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment