Message ID | 20220901093303.1974274-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 9e0b5c8d92ce..48e5c70e0baf 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(+)