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>
This commit is contained in:
Jens Axboe
2019-05-13 16:16:07 -06:00
parent 40c6f8454b
commit 0ba9503f79
5 changed files with 381 additions and 4 deletions

View File

@@ -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