Skip to content

Tests for absolute timeouts and clockids

Pavel Begunkov io-uring 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4Sync kernel headerssrc/include/liburing/io_uring.h+40 -270 replies
2/4src/register: add clock id registration helpersrc/include/liburing.h src/liburing-ffi.map src/liburing.map +1 more+13 -00 replies
3/4test: test clockids and abs timeoutstest/Makefile test/wait-timeout.c+284 -00 replies
4/4man: document clock id and IORING_ENTER_ABS_TIMERman/io_uring_enter.2 man/io_uring_register.2+32 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH liburing 0/4] Tests for absolute timeouts and clockids

Add definitions, tests and documentation for IORING_ENTER_ABS_TIMER and IORING_REGISTER_CLOCK.

It also adds helpers for registering clocks but not for absolute timeouts. Currently, liburing does't provide a way to pass custom enter flags.

Pavel Begunkov (4):
Sync kernel headers
src/register: add clock id registration helper
test: test clockids and abs timeouts
man: document clock id and IORING_ENTER_ABS_TIMER

 man/io_uring_enter.2            |  12 ++
 man/io_uring_register.2         |  20 +++
 src/include/liburing.h          |   3 +
 src/include/liburing/io_uring.h |  67 +++++---
 src/liburing-ffi.map            |   2 +
 src/liburing.map                |   2 +
 src/register.c                  |   6 +
 test/Makefile                   |   1 +
 test/wait-timeout.c             | 283 ++++++++++++++++++++++++++++++++
 9 files changed, 369 insertions(+), 27 deletions(-)
 create mode 100644 test/wait-timeout.c
Signature · 1 line
2.45.2