io_uring fixes for 5.15-rc2
Jens Axboe
maintainerHi Linus,
Mostly fixes for regressions in this cycle, but also a few fixes that predate this release. The odd one out is a tweak to the direct files added in this release, where attempting to reuse a slot is allowed instead of needing an explicit removal of that slot first. It's a considerable improvement in usability to that API, hence I'm sending it for -rc2.
- io-wq race fix and cleanup (Hao)
- loop_rw_iter() type fix
- SQPOLL max worker race fix
- Allow poll arm for O_NONBLOCK files, fixing a case where it's impossible to properly use io_uring if you cannot modify the file flags
- Allow direct open to simply reuse a slot, instead of needing it explicitly removed first (Pavel)
- Fix a case where we missed signal mask restoring in cqring_wait, if we hit -EFAULT (Xiaoguang)
Please pull!
The following changes since commit 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f:
Linux 5.15-rc1 (2021-09-12 16:28:37 -0700)
are available in the Git repository at:
git://git.kernel.dk/linux-block.git tags/io_uring-5.15-2021-09-17
for you to fetch changes up to 5d329e1286b0a040264e239b80257c937f6e685f:
io_uring: allow retry for O_NONBLOCK if async is supported (2021-09-14 11:09:42 -0600)
----------------------------------------------------------------
io_uring-5.15-2021-09-17
----------------------------------------------------------------
Eugene Syromiatnikov (1):
io-wq: provide IO_WQ_* constants for IORING_REGISTER_IOWQ_MAX_WORKERS arg items
Hao Xu (2):
io-wq: code clean of io_wqe_create_worker()
io-wq: fix potential race of acct->nr_workers
Jens Axboe (3):
io_uring: ensure symmetry in handling iter types in loop_rw_iter()
io_uring: pin SQPOLL data before unlocking ring lock
io_uring: allow retry for O_NONBLOCK if async is supported
Pavel Begunkov (1):
io_uring: auto-removal for direct open/accept
Xiaoguang Wang (1):
io_uring: fix missing sigmask restore in io_cqring_wait()
fs/io-wq.c | 27 ++++++----- fs/io_uring.c | 105 +++++++++++++++++++++++++++--------------- include/uapi/linux/io_uring.h | 8 +++- 3 files changed, 88 insertions(+), 52 deletions(-)
Signature · 1 line
Jens Axboe
The pull request you sent on Fri, 17 Sep 2021 08:44:28 -0600:
The pull request you sent on Fri, 17 Sep 2021 08:44:28 -0600:
Quoted 1 line
git://git.kernel.dk/linux-block.gittags/io_uring-5.15-2021-09-17
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/0bc7eb03cbd3e5d057cbe2ee15ddedf168f25a8d
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html