io_uring: abstract out helpers for DEFER_TASKRUN wakeup batching
authorJens Axboe <axboe@kernel.dk>
Tue, 4 Jun 2024 23:14:11 +0000 (17:14 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 5 Jun 2024 16:26:17 +0000 (10:26 -0600)
commit700b26f01fbd845673ae0ebdac50d82b117d4fa5
tree81de0ed10d12926f6336a8f6f72ef6cb4b0171d0
parent733bfa25ee2c7f36b05553ed17b2a67e0eac45ed
io_uring: abstract out helpers for DEFER_TASKRUN wakeup batching

In preparation for being able to use these two elsewhere, factor out
the helpers that io_req_local_work_add() uses to do wakeup batching.

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