engines/io_uring: set single issuer and defer taskrun
authorJens Axboe <axboe@kernel.dk>
Wed, 31 Aug 2022 20:14:29 +0000 (14:14 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 31 Aug 2022 20:14:29 +0000 (14:14 -0600)
commite453f369ecf4db4913ef6916603037f2d7141035
tree511e3506f95e6a0142ce543bc627de3d33cf2ee4
parent4d22c1037dafdac3d9bf30a3fb39d88f4391e41a
engines/io_uring: set single issuer and defer taskrun

If available, set these two flags as well. SINGLE_ISSUER tells the kernel
that it can expect that it's just a single task issuing requests, and
DEFER_TASKRUN tells the kernel that we're fine with deferring task_work
runs until we reap events.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/io_uring.c
os/linux/io_uring.h