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.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -449,6 +449,7 @@ enum io_uring_msg_ring_flags { · 448 unmodified lines | ||
| 449 | 449 | #define IORING_NOP_FILE (1U << 1) |
| 450 | 450 | #define IORING_NOP_FIXED_FILE (1U << 2) |
| 451 | 451 | #define IORING_NOP_FIXED_BUFFER (1U << 3) |
| 452 | +#define IORING_NOP_TW (1U << 4) | |
| 452 | 453 | |
| 453 | 454 | /* |
| 454 | 455 | * IO completion data structure (Completion Queue Entry) |