summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-10-15 16:49:19 -0600
committerJens Axboe <axboe@kernel.dk>2019-10-15 16:52:44 -0600
commitf303986495386cf00a37ee7ae69809387e099a1a (patch)
treecbb839ff56ad90438a5cf6218b9205d6c1ef3c21 /src
parent19ca53282d86edd42261076c4a7433fbd5dc1e20 (diff)
downloadliburing-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')
-rw-r--r--src/include/liburing/io_uring.h5
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 {