io_uring fixes for 6.0-rc1
Jens Axboe
maintainerHi Linus,
A few fixes that should go upstream before 6.0-rc1. Same as the one from yesterday, but this time adding the kiocb randomization patch before the patch that verifies the io_uring command sizing. In detail:
- Regression fix for this merge window, fixing a wrong order of arguments for io_req_set_res() for passthru (Dylan)
- Fix for the audit code leaking context memory (Peilin)
- Ensure that provided buffers are memcg accounted (Pavel)
- Correctly handle short zero-copy sends (Pavel)
- Sparse warning fixes for the recvmsg multishot command (Dylan)
- Error handling fix for passthru (Anuj)
- Remove randomization of struct kiocb fields, to avoid it growing in size if re-arranged in such a fashion that it grows more holes or padding (Keith, Linus)
- Small series improving type safety of the sqe fields (Stefan)
Please pull!
The following changes since commit e2b542100719a93f8cdf6d90185410d38a57a4c1:
Merge tag 'flexible-array-transformations-UAPI-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux (2022-08-02 19:50:47 -0700)
are available in the Git repository at:
git://git.kernel.dk/linux-block.git tags/io_uring-6.0-2022-08-13
for you to fetch changes up to 9c71d39aa0f40d4e6bfe14958045a42c722bd327:
io_uring: add missing BUILD_BUG_ON() checks for new io_uring_sqe fields (2022-08-12 17:01:00 -0600)
----------------------------------------------------------------
io_uring-6.0-2022-08-13
----------------------------------------------------------------
Anuj Gupta (1):
io_uring: fix error handling for io_uring_cmd
Dylan Yudaken (1):
io_uring: fix io_recvmsg_prep_multishot sparse warnings
Keith Busch (1):
fs: don't randomize struct kiocb fields
Ming Lei (1):
io_uring: pass correct parameters to io_req_set_res
Pavel Begunkov (2):
io_uring: mem-account pbuf buckets
io_uring/net: send retry for zerocopy
Peilin Ye (1):
audit, io_uring, io-wq: Fix memory leak in io_sq_thread() and io_wqe_worker()
Stefan Metzmacher (3):
io_uring: consistently make use of io_notif_to_data()
io_uring: make io_kiocb_to_cmd() typesafe
io_uring: add missing BUILD_BUG_ON() checks for new io_uring_sqe fields
include/linux/audit.h | 5 ---- include/linux/fs.h | 5 ---- include/linux/io_uring_types.h | 9 +++++- io_uring/advise.c | 8 ++--- io_uring/cancel.c | 4 +-- io_uring/epoll.c | 4 +-- io_uring/fs.c | 28 +++++++++--------- io_uring/io-wq.c | 3 -- io_uring/io_uring.c | 19 ++++++++++-- io_uring/kbuf.c | 10 +++---- io_uring/msg_ring.c | 8 ++--- io_uring/net.c | 66 +++++++++++++++++++++++++----------------- io_uring/notif.c | 4 +-- io_uring/notif.h | 2 +- io_uring/openclose.c | 16 +++++----- io_uring/poll.c | 16 +++++----- io_uring/rsrc.c | 10 +++---- io_uring/rw.c | 28 +++++++++--------- io_uring/splice.c | 8 ++--- io_uring/sqpoll.c | 4 --- io_uring/statx.c | 6 ++-- io_uring/sync.c | 12 ++++---- io_uring/timeout.c | 26 ++++++++--------- io_uring/uring_cmd.c | 17 +++++++---- io_uring/xattr.c | 18 ++++++------ kernel/auditsc.c | 25 ---------------- 26 files changed, 178 insertions(+), 183 deletions(-)
Signature · 1 line
Jens Axboe
The pull request you sent on Sat, 13 Aug 2022 13:25:05 -0600:
The pull request you sent on Sat, 13 Aug 2022 13:25:05 -0600:
Quoted 1 line
git://git.kernel.dk/linux-block.gittags/io_uring-6.0-2022-08-13
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/1da8cf961bb13f4c3ea11373696b5ac986a47cde
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html