Skip to content

a fix + cancellation unification

Pavel Begunkov io-uring stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8io_uring: close a small race gap for files cancelfs/io_uring.c+4 -40 replies
2/8io_uring: further deduplicate #CQ events calcfs/io_uring.c+7 -80 replies
3/8io_uring: account per-task #requests with filesfs/io_uring.c include/linux/io_uring.h+20 -80 replies
4/8io_uring: explicitly pass tctx into del_task_filefs/io_uring.c+4 -50 replies
5/8io_uring: draft files cancel based on inflight cntfs/io_uring.c include/linux/io_uring.h+20 -210 replies
6/8io_uring: remove old files cancel mechanismfs/io_uring.c+9 -560 replies
7/8io_uring: cleanup task cancelfs/io_uring.c+6 -190 replies
8/8io_uring: kill not used anymore inflight_lockfs/io_uring.c+0 -100 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/8] a fix + cancellation unification

I suggest for 1/8 to go for current, and the rest are for next. Patches 2-8 finally unify how we do task and files cancellation removing boilerplate and making it easier to understand overall. As a bonus to it ->inflight_entry is now used only for iopoll, probably can be put into a union with something and save 16B of io_kiocb if that would be needed.

Pavel Begunkov (8):
io_uring: close a small race gap for files cancel
io_uring: further deduplicate #CQ events calc
io_uring: account per-task #requests with files
io_uring: explicitly pass tctx into del_task_file
io_uring: draft files cancel based on inflight cnt
io_uring: remove old files cancel mechanism
io_uring: cleanup task cancel
io_uring: kill not used anymore inflight_lock

 fs/io_uring.c            | 166 +++++++++++++--------------------------
 include/linux/io_uring.h |  13 ++-
 2 files changed, 59 insertions(+), 120 deletions(-)
Signature · 1 line
2.24.0