Skip to contentSkip to conversation

io_uring fixes for 5.15-rc2

GIT PULL Merged Jens Axboe 2 participants 2 messages Sep 17, 2021 io_uring

lore
Share & tools
lore

Jens Axboe

author maintainer
#0 lore raw

Hi 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