io_uring fixes for 6.18-rc6
Jens Axboe
maintainerHi Linus,
Three small fixes for io_uring that should go into the 6.18 kernel release. This pull request contains:
- Use the actual segments in a request when for bvec based buffers.
- Fix an odd case where the iovec might get leaked for a read/write request, if it was newly allocated, overflowed the alloc cache, and hit an early error.
- Minor tweak to the query API added in this release, returning the number of available entries.
Please pull!
The following changes since commit 146eb58629f45f8297e83d69e64d4eea4b28d972:
io_uring: fix regbuf vector size truncation (2025-11-07 17:17:13 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git tags/io_uring-6.18-20251113
for you to fetch changes up to 2d0e88f3fd1dcb37072d499c36162baf5b009d41:
io_uring/rsrc: don't use blk_rq_nr_phys_segments() as number of bvecs (2025-11-12 08:25:33 -0700)
----------------------------------------------------------------
io_uring-6.18-20251113
----------------------------------------------------------------
Caleb Sander Mateos (1):
io_uring/rsrc: don't use blk_rq_nr_phys_segments() as number of bvecs
Jens Axboe (1):
io_uring/rw: ensure allocated iovec gets cleared for early failure
Pavel Begunkov (1):
io_uring/query: return number of available queries
include/uapi/linux/io_uring/query.h | 3 +++ io_uring/query.c | 2 ++ io_uring/rsrc.c | 16 +++++++++------- io_uring/rw.c | 3 +++ 4 files changed, 17 insertions(+), 7 deletions(-)
Signature · 1 line
Jens Axboe
The pull request you sent on Fri, 14 Nov 2025 05:29:51 -0700:
The pull request you sent on Fri, 14 Nov 2025 05:29:51 -0700:
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git tags/io_uring-6.18-20251113
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ac9f4f306d943c1c551280977ae5321167835088
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html