summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-01-12 22:14:54 -0700
committerJens Axboe <axboe@kernel.dk>2019-01-12 22:14:54 -0700
commit8025517dfa599be4bc795e4af7c9012d10b81bc5 (patch)
tree587db30e09064928376f7cdda45f7a24077c4397 /os
parente0abe38815e1c8cf7a319c6fbd0b1d60691db3d5 (diff)
downloadfio-8025517dfa599be4bc795e4af7c9012d10b81bc5.tar.gz
fio-8025517dfa599be4bc795e4af7c9012d10b81bc5.tar.bz2
t/io_uring: add IORING_OP_NOP support
Doesn't do anything on the kernel side, just a round trip through the SQ and CQ ring. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'os')
-rw-r--r--os/io_uring.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/io_uring.h b/os/io_uring.h
index 74370aed..0f4460d6 100644
--- a/os/io_uring.h
+++ b/os/io_uring.h
@@ -47,6 +47,7 @@ struct io_uring_sqe {
#define IORING_SETUP_SQPOLL (1 << 1) /* SQ poll thread */
#define IORING_SETUP_SQ_AFF (1 << 2) /* sq_thread_cpu is valid */
+#define IORING_OP_NOP 0
#define IORING_OP_READV 1
#define IORING_OP_WRITEV 2
#define IORING_OP_FSYNC 3