summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2025-06-14 02:05:19 +0300
committerJens Axboe <axboe@kernel.dk>2025-06-23 17:59:13 +0300
commitcb9ccfb404e700dc0db59d68242d79fe386bb3f0 (patch)
treef9ace4b4092af8ad5df61665f48572bffca297ea /include/uapi/linux
parentecf47d452ced9be162831192fcfb3e9f5cdcde7f (diff)
downloadlinux-cb9ccfb404e700dc0db59d68242d79fe386bb3f0.tar.xz
io_uring/nop: add IORING_NOP_TW completion flag
To test and profile the overhead of io_uring task_work and the various types of it, add IORING_NOP_TW which tells nop to signal completions through task_work rather than complete them inline. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/io_uring.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/io_uring.h b/include/uapi/linux/io_uring.h
index cfd17e382082..8c3d43caab02 100644
--- a/include/uapi/linux/io_uring.h
+++ b/include/uapi/linux/io_uring.h
@@ -449,6 +449,7 @@ enum io_uring_msg_ring_flags {
#define IORING_NOP_FILE (1U << 1)
#define IORING_NOP_FIXED_FILE (1U << 2)
#define IORING_NOP_FIXED_BUFFER (1U << 3)
+#define IORING_NOP_TW (1U << 4)
/*
* IO completion data structure (Completion Queue Entry)