1) support dynamic managment for registered buffers, including update. 2) add new IORING_REGISTER* for rsrc register and rsrc update, which are just dispatch files/buffers to right callbacks. Needed because old ones not nicely extendible. The drawback -- restrictions not supporting it with fine granularity. 3) Do rsrc tagging, with tag=0 ingnoring CQE posting. Doesn't post CQEs on unregister, but can easily be changed One more thing to discuss is 9/11 Bijan Mottahedeh (1): io_uring: implement fixed buffers registration similar to fixed files Pavel Begunkov (10): io_uring: move __io_sqe_files_unregister io_uring: return back rsrc data free helper io_uring: decouple CQE filling from requests io_uring: preparation for rsrc tagging io_uring: add generic path for rsrc update io_uring: enumerate dynamic resources io_uring: add IORING_REGISTER_RSRC io_uring: add generic rsrc update with tags io_uring: prepare fixed rw for dynanic buffers io_uring: add full-fledged dynamic buffers support fs/io_uring.c | 470 +++++++++++++++++++++++++--------- include/uapi/linux/io_uring.h | 23 ++ 2 files changed, 376 insertions(+), 117 deletions(-) -- 2.31.1