public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCH for-next 0/6] cleanup task/files cancel
@ 2020-11-06 13:00 Pavel Begunkov
  2020-11-06 13:00 ` [PATCH 1/6] io_uring: simplify io_task_match() Pavel Begunkov
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Pavel Begunkov @ 2020-11-06 13:00 UTC (permalink / raw)
  To: Jens Axboe, io-uring

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(-)

-- 
2.24.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-11-09 14:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-06 13:00 [PATCH for-next 0/6] cleanup task/files cancel Pavel Begunkov
2020-11-06 13:00 ` [PATCH 1/6] io_uring: simplify io_task_match() Pavel Begunkov
2020-11-06 13:00 ` [PATCH 2/6] io_uring: add a {task,files} pair matching helper Pavel Begunkov
2020-11-06 13:00 ` [PATCH 3/6] io_uring: cancel only requests of current task Pavel Begunkov
2020-11-06 13:00 ` [PATCH 4/6] io_uring: don't iterate io_uring_cancel_files() Pavel Begunkov
2020-11-06 13:00 ` [PATCH 5/6] io_uring: pass files into kill timeouts/poll Pavel Begunkov
2020-11-06 13:00 ` [PATCH 6/6] io_uring: always batch cancel in *cancel_files() Pavel Begunkov
2020-11-09 14:43 ` [PATCH for-next 0/6] cleanup task/files cancel Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox