Message ID | 20220905132258.1858915-2-dylany@fb.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | Defer taskrun changes | expand |
diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h index 6b83177fd41d..972b179bc07a 100644 --- a/src/include/liburing/io_uring.h +++ b/src/include/liburing/io_uring.h @@ -157,6 +157,13 @@ enum { */ #define IORING_SETUP_SINGLE_ISSUER (1U << 12) +/* + * Defer running task work to get events. + * Rather than running bits of task work whenever the task transitions + * try to do it just before it is needed. + */ +#define IORING_SETUP_DEFER_TASKRUN (1U << 13) + enum io_uring_op { IORING_OP_NOP, IORING_OP_READV,
Copy the flag from upstream Signed-off-by: Dylan Yudaken <dylany@fb.com> --- src/include/liburing/io_uring.h | 7 +++++++ 1 file changed, 7 insertions(+)