summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-05-13 16:16:07 -0600
committerJens Axboe <axboe@kernel.dk>2019-05-13 16:16:07 -0600
commit0ba9503f793647bfd967da8083a2adf56621307c (patch)
treed0cb567953421723a4f93c6895f47081b48980ff /src
parent40c6f8454b86a5cd3bda63b41b9524ec162e9842 (diff)
Add link SQE support
Just a basic test case that does various forms of linked nops, and a sample bare bones copy program using linked reads and writes. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'src')
-rw-r--r--src/io_uring.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/io_uring.h b/src/io_uring.h
index 43ecbc1..4da0053 100644
--- a/src/io_uring.h
+++ b/src/io_uring.h
@@ -39,6 +39,7 @@ struct io_uring_sqe {
*/
#define IOSQE_FIXED_FILE (1U << 0) /* use fixed fileset */
#define IOSQE_IO_DRAIN (1U << 1)
+#define IOSQE_IO_LINK (1U << 2)
/*
* io_uring_setup() flags