diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-10-15 16:49:19 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-10-15 16:52:44 -0600 |
commit | f303986495386cf00a37ee7ae69809387e099a1a (patch) | |
tree | cbb839ff56ad90438a5cf6218b9205d6c1ef3c21 /src/include/liburing/io_uring.h | |
parent | 19ca53282d86edd42261076c4a7433fbd5dc1e20 (diff) | |
download | liburing-f303986495386cf00a37ee7ae69809387e099a1a.tar.gz liburing-f303986495386cf00a37ee7ae69809387e099a1a.tar.bz2 |
Add test case for absolute timeouts
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'src/include/liburing/io_uring.h')
-rw-r--r-- | src/include/liburing/io_uring.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h index e0137ea..b402dfe 100644 --- a/src/include/liburing/io_uring.h +++ b/src/include/liburing/io_uring.h @@ -71,6 +71,11 @@ struct io_uring_sqe { #define IORING_FSYNC_DATASYNC (1U << 0) /* + * sqe->timeout_flags + */ +#define IORING_TIMEOUT_ABS (1U << 0) + +/* * IO completion data structure (Completion Queue Entry) */ struct io_uring_cqe { |