Skip to content

Add support for cloning partial buffer sets

Jens Axboe io-uring 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2io_uring/rsrc: allow cloning at an offsetinclude/uapi/linux/io_uring.h io_uring/rsrc.c+30 -70 replies
2/2io_uring/rsrc: allow cloning with node replacementsinclude/uapi/linux/io_uring.h io_uring/rsrc.c+54 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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

Signature · 1 line
Jens Axboe