History

io_uring: add support for absolute timeouts

This is a pretty trivial addition on top of the relative timeouts we have now, but it's handy for ensuring tighter timing for those that are building scheduling primitives on top of io_uring.

Jens Axboe committed 7 years ago

Commit a41525a1 parent ba5290c2 files · +17 −5Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/io_uring.h+5−0
@@ -70,6 +70,11 @@ struct io_uring_sqe { · 69 unmodified lines
70 */70 */
71#define IORING_FSYNC_DATASYNC (1U << 0)71#define IORING_FSYNC_DATASYNC (1U << 0)
72 72
73/*
74 * sqe->timeout_flags
75 */
76#define IORING_TIMEOUT_ABS (1U << 0)
77
73/*78/*
74 * IO completion data structure (Completion Queue Entry)79 * IO completion data structure (Completion Queue Entry)
75 */80 */