History

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.

Jens Axboe committed 1 year ago

Commit cb9ccfb1 parent ecf47d42 files · +8 −1Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/io_uring.h+1−0
@@ -449,6 +449,7 @@ enum io_uring_msg_ring_flags { · 448 unmodified lines
449449 #define IORING_NOP_FILE (1U << 1)
450450 #define IORING_NOP_FIXED_FILE (1U << 2)
451451 #define IORING_NOP_FIXED_BUFFER (1U << 3)
452+#define IORING_NOP_TW (1U << 4)
452453
453454 /*
454455 * IO completion data structure (Completion Queue Entry)