Skip to content

Split out wait and task_work handling

Jens Axboe 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: split out task work code into tw.cio_uring/Makefile io_uring/io_uring.c io_uring/io_uring.h +2 more+483 -4480 replies
2/2io_uring: split out CQ waiting code into wait.cio_uring/Makefile io_uring/cancel.c io_uring/io_uring.c +4 more+368 -3340 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCHSET 0/2] Split out wait and task_work handling

Hi,

io_uring.c is still pretty massive, even after a bit of cancelation refactoring in the 6.19 work. We can reasonably split out the wait and task_work handling into separate files as well, bringing the file from about 103k to about 84k. Outside of that, it makes the code easier to reason about and navigate.

No functional changes in this series.

 io_uring/Makefile   |  14 +-
 io_uring/cancel.c   |   1 +
 io_uring/io_uring.c | 693 +-------------------------------------------
 io_uring/io_uring.h |  79 +----
 io_uring/tw.c       | 355 +++++++++++++++++++++++
 io_uring/tw.h       | 116 ++++++++
 io_uring/wait.c     | 308 ++++++++++++++++++++
 io_uring/wait.h     |  49 ++++
 8 files changed, 842 insertions(+), 773 deletions(-)
Signature · 1 line
Jens Axboe