Skip to content

RFC add timeouts for io_uring bpf-loop

Pavel Begunkov io-uring 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2io_uring/loop: add a structure for loop stateio_uring/loop.c+11 -50 replies
2/2io_uring/loop: introduce wait timeoutsio_uring/bpf-ops.c io_uring/loop.c io_uring/loop.h+40 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC 0/2] add timeouts for io_uring bpf-loop

The BPF ops should be able to set timeout while waiting for CQEs, this series implements one approach. I'm keeping it as an RFC as I'm pondering at a slightly different and hopefully more performant ways of achieving it.

Pavel Begunkov (2):
io_uring/loop: add a structure for loop state
io_uring/loop: introduce wait timeouts

 io_uring/bpf-ops.c |  6 ++++++
 io_uring/loop.c    | 37 +++++++++++++++++++++++++++++++------
 io_uring/loop.h    | 14 ++++++++++++++
 3 files changed, 51 insertions(+), 6 deletions(-)
Signature · 1 line
2.54.0