Skip to content

fix sqpoll cancellation hangs

Pavel Begunkov io-uring 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2io_uring: add generic callback_head helpersfs/io_uring.c+36 -260 replies
2/2io_uring: fix sqpoll cancellation via task_workfs/io_uring.c+5 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 5.12 0/2] fix sqpoll cancellation hangs

1/2 is a prep, 2/2 fixes the issue. Many io_run_task_work_head() call sites look nasty, but I expect them all but one to go away after controlling SQPOLL task lifetime.

Pavel Begunkov (2):
io_uring: add generic callback_head helpers
io_uring: fix sqpoll cancellation via task_work

 fs/io_uring.c | 68 +++++++++++++++++++++++++++++++--------------------
 1 file changed, 41 insertions(+), 27 deletions(-)
Signature · 1 line
2.24.0