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 (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
7070 */
7171 #define IORING_FSYNC_DATASYNC (1U << 0)
7272
73+/*
74+ * sqe->timeout_flags
75+ */
76+#define IORING_TIMEOUT_ABS (1U << 0)
77+
7378 /*
7479 * IO completion data structure (Completion Queue Entry)
7580 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t