Skip to content

io_uring fixes for 6.18-stable

Jens Axboe stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9io_uring/cancel: drop sqd->lock while SQPOLL waitsio_uring/cancel.c+22 -10 replies
2/9io_uring/sqpoll: don't attach to a thread that is cancelingio_uring/sqpoll.c+10 -10 replies
3/9io_uring/sqpoll: don't set IO_SQ_THREAD_SHOULD_STOP on thread exitio_uring/sqpoll.c+6 -30 replies
4/9io_uring/sqpoll: do the return-to-userspace work in the SQPOLL threadio_uring/sqpoll.c+12 -00 replies
5/9io_uring/cancel: count all requests that a CANCEL_ALL cancelsio_uring/cancel.c+2 -10 replies
6/9io_uring/poll: cancel all matching requests in one passio_uring/cancel.c io_uring/poll.c+38 -30 replies
7/9io_uring/poll: don't poll a writer for a read side hangupio_uring/poll.c+15 -30 replies
8/9io_uring/poll: don't poll a writer for urgent dataio_uring/poll.c+3 -20 replies
9/9io_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.18.y 0/9] io_uring fixes for 6.18-stable

Hi Greg,

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

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

The io_uring series I sent earlier this week is already in v6.18.62, 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 and 9 needed changes to apply to 6.18, 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

Shakeel Butt (1):
io_uring/sqpoll: do the return-to-userspace work in the SQPOLL thread

Shang En Sim (2):
io_uring/cancel: count all requests that a CANCEL_ALL cancels 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 | 26 ++++++++++++++++++--
 io_uring/poll.c   | 62 +++++++++++++++++++++++++++++++++++++++++------
 io_uring/rsrc.c   | 21 ++++++++++++----
 io_uring/sqpoll.c | 26 +++++++++++++++++++-
 4 files changed, 120 insertions(+), 15 deletions(-)
Signature · 1 line
2.56.0