Skip to content

sqpoll fixes

Pavel Begunkov io-uring 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4io_uring: cancel deferred requests in try_cancelfs/io_uring.c+6 -40 replies
2/4io_uring: remove useless ->startup completionfs/io_uring.c+0 -60 replies
3/4io_uring: prevent racy sqd->thread checksfs/io_uring.c+22 -60 replies
4/4io_uring: cancel sqpoll via task_workfs/io_uring.c+71 -804 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/4] sqpoll fixes

1-3 are relatively easy. 2/3 is rather a cleanup, but it's better to throw it out of the equation, makes life easier.

4/4 removes the park/unpark dance for cancellations, and fixes a couple of issues (will send one test later).
Signals in io_sq_thread() add troubles adding more cases to think about and care about races b/w dying SQPOLL task, dying ctxs and going away userspace tasks.

Pavel Begunkov (4):
io_uring: cancel deferred requests in try_cancel
io_uring: remove useless ->startup completion
io_uring: prevent racy sqd->thread checks
io_uring: cancel sqpoll via task_work

 fs/io_uring.c | 195 +++++++++++++++++++++++++-------------------------
 1 file changed, 99 insertions(+), 96 deletions(-)
Signature · 1 line
2.24.0