Skip to content

cleanup task/files cancel

Pavel Begunkov io-uring 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6io_uring: simplify io_task_match()fs/io_uring.c+1 -50 replies
2/6io_uring: add a {task,files} pair matching helperfs/io_uring.c+22 -260 replies
3/6io_uring: cancel only requests of current taskfs/io_uring.c+5 -180 replies
4/6io_uring: don't iterate io_uring_cancel_files()fs/io_uring.c+12 -220 replies
5/6io_uring: pass files into kill timeouts/pollfs/io_uring.c+10 -80 replies
6/6io_uring: always batch cancel in *cancel_files()fs/io-wq.c fs/io-wq.h fs/io_uring.c+21 -1250 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH for-next 0/6] cleanup task/files cancel

That unifies cancellation/matching/etc., so we can kill all that going out of hand zoo of functions.

Jens, [3/6] changes the behaviour, but as last time it's less restrictive and doesn't kill what we don't need to kill. Though, it'd prefer you to check the assumption in light of the cancel changes you've done.

Based on for-5.11/io_uring + "io_uring: fix link lookup racing with link timeout", should apply ok after you merge everything.

Pavel Begunkov (6):
io_uring: simplify io_task_match()
io_uring: add a {task,files} pair matching helper
io_uring: cancel only requests of current task
io_uring: don't iterate io_uring_cancel_files()
io_uring: pass files into kill timeouts/poll
io_uring: always batch cancel in *cancel_files()

 fs/io-wq.c    |  10 --
 fs/io-wq.h    |   1 -
 fs/io_uring.c | 260 ++++++++++++++------------------------------------
 3 files changed, 69 insertions(+), 202 deletions(-)
Signature · 1 line
2.24.0