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.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -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 | */ |