On 1/7/2021 7:53 AM, Jens Axboe wrote:
On 1/6/21 1:39 PM, Bijan Mottahedeh wrote:
v4:
- address v3 comments (TBD REGISTER_BUFFERS)
- rebase
v3:
- batch file->rsrc renames into a signle patch when possible
- fix other review changes from v2
- fix checkpatch warnings
v2:
- drop readv/writev with fixed buffers patch
- handle ref_nodes both both files/buffers with a single ref_list
- make file/buffer handling more unified
This patchset implements a set of enhancements to buffer registration
consistent with existing file registration functionality:
- buffer registration updates IORING_REGISTER_BUFFERS_UPDATE
IORING_OP_BUFFERS_UPDATE
- buffer registration sharing IORING_SETUP_SHARE_BUF
IORING_SETUP_ATTACH_BUF
I have kept the original patchset unchanged for the most part to
facilitate reviewing and so this set adds a number of additional patches
mostly making file/buffer handling more unified.
Patch 1-2 modularize existing buffer registration code.
Applied 1-2 for now with Pavel's review, hopefully we can crank through
the rest of the series and target 5.12.
Thanks. As for the other patches, #13 needs some attention based on
Pavel's observations regarding possible deadlocks. Can you have a look
at the discussion for that patch in the v2 series?