Add support for batched min timeout
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest5 patches 10 repliesIn review
- v45 patches 21 repliesSuperseded
- v35 patches 0 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 4 patches | 0 replies | Superseded | |
| v1 | 4 patches | 0 replies | Superseded |
Changes in v5 from the cover letter
- Use READ/WRITE_ONCE consistently with iowq->hit_timeout
- Unify how io_cqring_timer_wakeup() handles ring types by always using wake_up_process().
- Fix race in min timer wakeup with DEFER_TASKRUN
- Don't reset ctx->cq_wait_nr if timeout has been hit
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | io_uring: encapsulate extraneous wait flags into a separate structio_uring/ | +24 | 0 replies | |
| 2/5 | io_uring: move schedule wait logic into helperio_uring/ | +21 | 0 replies | |
| 3/5 | io_uring: implement our own schedule timeout handlingio_uring/ io_uring/ | +34 | 2 replies | |
| 4/5 | io_uring: add support for batch wait timeoutio_uring/ io_uring/ | +77 | 8 replies | |
| 5/5 | io_uring: wire up min batch wake timeoutinclude/ io_uring/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [PATCHSET v5 0/5] Add support for batched min timeout
Hi,
Here's v5 of the min-wait patchset. For a full description, see the v2 posting:
https://lore.kernel.org/io-uring/[email protected]/
As before, there's a liburing branch with added test cases, it can be found here:
https://git.kernel.dk/cgit/liburing/log/?h=min-wait
The patches are on top of master with for-6.12/io_uring pulled in.
Changes since v4:
- Use READ/WRITE_ONCE consistently with iowq->hit_timeout
- Unify how io_cqring_timer_wakeup() handles ring types by always using wake_up_process().
- Fix race in min timer wakeup with DEFER_TASKRUN
- Don't reset ctx->cq_wait_nr if timeout has been hit
include/uapi/linux/io_uring.h | 3 +- io_uring/io_uring.c | 191 +++++++++++++++++++++++++--------- io_uring/io_uring.h | 4 + 3 files changed, 150 insertions(+), 48 deletions(-)
Signature · 1 line
Jens Axboe