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.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -188,7 +188,8 @@ enum io_uring_sqe_flags_bit { · 187 unmodified lines | ||
| 188 | 188 | /* |
| 189 | 189 | * If COOP_TASKRUN is set, get notified if task work is available for |
| 190 | 190 | * 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. | |
| 192 | 193 | */ |
| 193 | 194 | #define IORING_SETUP_TASKRUN_FLAG (1U << 9) |
| 194 | 195 | #define IORING_SETUP_SQE128 (1U << 10) /* SQEs are 128 byte */ |