Skip to content

io_uring fixes for 6.6-stable

Jens Axboe stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7io_uring/cancel: drop sqd->lock while SQPOLL waitsio_uring/io_uring.c+22 -10 replies
2/7io_uring/sqpoll: don't attach to a thread that is cancelingio_uring/sqpoll.c+10 -10 replies
3/7io_uring/sqpoll: don't set IO_SQ_THREAD_SHOULD_STOP on thread exitio_uring/sqpoll.c+6 -30 replies
4/7io_uring/poll: cancel all matching requests in one passio_uring/cancel.c io_uring/poll.c+51 -60 replies
5/7io_uring/poll: don't poll a writer for a read side hangupio_uring/poll.c+15 -30 replies
6/7io_uring/poll: don't poll a writer for urgent dataio_uring/poll.c+3 -20 replies
7/7io_uring/rsrc: hold uring_lock across index-alloc put_userio_uring/rsrc.c+16 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 6.6.y 0/7] io_uring fixes for 6.6-stable

Hi Greg,

Here are io_uring fixes for 6.6-stable. They were waiting on the io_uring pull for 7.4-rc, which Linus has now merged.

They apply on top of v6.6.162 with the current queue-6.6 applied (stable-queue 0ae08d01c389). They don't depend on anything in the queue, and apply to v6.6.162 alone as well.

The io_uring series I sent earlier this week is already in queue-6.6, these go on top of that.

Please take patches 1-3 together. Patch 2 closes a race that patch 1 opens up, and patch 3 fixes a WARN_ON_ONCE() that patch 2 introduces on SQPOLL thread exit.

Patches 1, 2, 4, 6 and 7 needed changes to apply to 6.6, the [axboe: ...] note at the end of each says what was changed.

Chris Mason (1):
io_uring/cancel: drop sqd->lock while SQPOLL waits

Jens Axboe (3):
io_uring/sqpoll: don't attach to a thread that is canceling io_uring/poll: don't poll a writer for a read side hangup io_uring/poll: don't poll a writer for urgent data

Shang En Sim (1):
io_uring/poll: cancel all matching requests in one pass

Shuai Liu (1):
io_uring/sqpoll: don't set IO_SQ_THREAD_SHOULD_STOP on thread exit

Yuansheng Yang (1):
io_uring/rsrc: hold uring_lock across index-alloc put_user

 io_uring/cancel.c   |  3 +-
 io_uring/io_uring.c | 23 +++++++++++++-
 io_uring/poll.c     | 77 +++++++++++++++++++++++++++++++++++++++------
 io_uring/rsrc.c     | 21 ++++++++++---
 io_uring/sqpoll.c   | 14 ++++++++-
 5 files changed, 120 insertions(+), 18 deletions(-)
Signature · 1 line
2.56.0