Skip to content

address some hangs

Pavel Begunkov io-uring stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4io_uring: add a helper for setting a ref nodefs/io_uring.c+12 -100 replies
2/4io_uring: fix io_sqe_files_unregister() hangsfs/io_uring.c+22 -20 replies
3/4kernel/io_uring: cancel io_uring before task worksfs/file.c kernel/exit.c+2 -21 reply
4/4io_uring: cancel requests enqueued as task_work'sfs/io_uring.c+2 -61 reply

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] address some hangs

1/4 and 2/4 are for hangs during files unregister.

The other two fix not running task works during cancellation. Instead of patching task_work it moves io_uring_files_cancel() before PF_EXITING, should be less intrusive. Was there a particular reasong for doing that in exit_files()?

Pavel Begunkov (4):
io_uring: add a helper for setting a ref node
io_uring: fix io_sqe_files_unregister() hangs kernel/io_uring: cancel io_uring before task works
io_uring: cancel requests enqueued as task_work's

 fs/file.c     |  2 --
 fs/io_uring.c | 54 ++++++++++++++++++++++++++++++++++-----------------
 kernel/exit.c |  2 ++
 3 files changed, 38 insertions(+), 20 deletions(-)
Signature · 1 line
2.24.0