Skip to content

Commit 0ed2e8b

Browse files
committed
io_uring: correct comment for IORING_SETUP_TASKRUN_FLAG
Sync with a recent liburing fix, which corrects the comment explaining when the IORING_SETUP_TASKRUN_FLAG setup flag is valid to use. May be use with COOP_TASKRUN or DEFER_TASKRUN, not useful without either of this task_work mechanisms being used. Link: axboe/liburing#1543 Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 3d17d76 commit 0ed2e8b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/uapi/linux/io_uring.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ enum io_uring_sqe_flags_bit {
188188
/*
189189
* If COOP_TASKRUN is set, get notified if task work is available for
190190
* running and a kernel transition would be needed to run it. This sets
191-
* IORING_SQ_TASKRUN in the sq ring flags. Not valid with COOP_TASKRUN.
191+
* IORING_SQ_TASKRUN in the sq ring flags. Not valid without COOP_TASKRUN
192+
* or DEFER_TASKRUN.
192193
*/
193194
#define IORING_SETUP_TASKRUN_FLAG (1U << 9)
194195
#define IORING_SETUP_SQE128 (1U << 10) /* SQEs are 128 byte */

0 commit comments

Comments
 (0)