History

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.

Jens Axboe committed 8 months ago

Commit 0ed2e8b1 parent 3d17d761 file · +2 −1Browse files

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

Unified · Split

include/uapi/linux/io_uring.h+2−1
@@ -188,7 +188,8 @@ enum io_uring_sqe_flags_bit { · 187 unmodified lines
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 */