Final io_uring updates/fixes for 6.15-rc1
Jens Axboe
maintainerHi Linus,
Final separate pull request for io_uring. Started out as a series of cleanups improvements and improvements for registered buffers, but as the last series of the io_uring changes for 6.15, it also collected a few fixes for the other branches on top. Sits on top of the previously sent out zc-rx and epoll-wait pull requests. This pull request contains:
- Add support for vectored fixed/registered buffers. Previously only single segments have been supported for commands, now vectored variants are supported as well. This series includes networking and file read/write support.
- Small series unifying return codes across multi and single shot.
- Small series cleaning up registerd buffer importing.
- Adding support for vectored registered buffers for uring_cmd.
- Fix for io-wq handling of command reissue.
- Various little fixes and tweaks.
Please pull!
The following changes since commit 0d83b8a9f180436a84fbdeb575696b0c3ae0ac0c:
io_uring: introduce io_cache_free() helper (2025-03-05 07:38:55 -0700)
are available in the Git repository at:
git://git.kernel.dk/linux.git tags/for-6.15/io_uring-reg-vec-20250327
for you to fetch changes up to 6889ae1b4df1579bcdffef023e2ea9a982565dff:
io_uring/net: fix io_req_post_cqe abuse by send bundle (2025-03-27 05:48:32 -0600)
----------------------------------------------------------------
Caleb Sander Mateos (2):
io_uring/net: only import send_zc buffer once io_uring/net: use REQ_F_IMPORT_BUFFER for send_zc
Jens Axboe (3):
Merge branch 'for-6.15/io_uring' into for-6.15/io_uring-reg-vec
Merge branch 'for-6.15/io_uring-rx-zc' into for-6.15/io_uring-reg-vec
Merge branch 'for-6.15/io_uring-epoll-wait' into for-6.15/io_uring-reg-vecPavel Begunkov (23):
io_uring: introduce struct iou_vec
io_uring: add infra for importing vectored reg buffers io_uring/rw: implement vectored registered rw io_uring/rw: defer reg buf vec import io_uring/net: combine msghdr copy io_uring/net: pull vec alloc out of msghdr import io_uring/net: convert to struct iou_vec io_uring/net: implement vectored reg bufs for zctx
io_uring: cap cached iovec/bvec size
io_uring: return -EAGAIN to continue multishot
io_uring: unify STOP_MULTISHOT with IOU_OK
io_uring: introduce io_prep_reg_iovec()
io_uring: rely on io_prep_reg_vec for iovec placement
io_uring: rename the data cmd cache io_uring/cmd: don't expose entire cmd async data io_uring/cmd: add iovec cache for commands io_uring/cmd: introduce io_uring_cmd_import_fixed_vec
io_uring: fix retry handling off iowq
io_uring: defer iowq cqe overflow via task_work
io_uring: open code __io_post_aux_cqe()
io_uring: rename "min" arg in io_iopoll_check()
io_uring: move min_events sanitisation io_uring/net: fix io_req_post_cqe abuse by send bundle
include/linux/io_uring/cmd.h | 13 ++ include/linux/io_uring_types.h | 19 ++- include/uapi/linux/io_uring.h | 2 + io_uring/alloc_cache.h | 9 -- io_uring/io_uring.c | 65 ++++----- io_uring/io_uring.h | 19 +-- io_uring/net.c | 235 +++++++++++++++++---------------- io_uring/net.h | 6 +- io_uring/opdef.c | 42 +++++- io_uring/poll.c | 5 +- io_uring/rsrc.c | 163 +++++++++++++++++++++++ io_uring/rsrc.h | 24 ++++ io_uring/rw.c | 94 ++++++++++--- io_uring/rw.h | 6 +- io_uring/uring_cmd.c | 59 +++++++-- io_uring/uring_cmd.h | 17 +++ 16 files changed, 567 insertions(+), 211 deletions(-)
Signature · 1 line
Jens Axboe
The pull request you sent on Thu, 27 Mar 2025 08:38:25 -0600:
The pull request you sent on Thu, 27 Mar 2025 08:38:25 -0600:
Quoted 1 line
git://git.kernel.dk/linux.gittags/for-6.15/io_uring-reg-vec-20250327
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/eff5f16bfd87ae48c56751741af41a825d5d4618
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html