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

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 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t