io_uring: move schedule wait logic into helper
authorJens Axboe <axboe@kernel.dk>
Thu, 4 Jan 2024 15:02:59 +0000 (08:02 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 19 Aug 2024 23:22:40 +0000 (17:22 -0600)
commitd557193f453fdf8f2aa2490ecbb863213facca03
tree62ff1bdd5099eb0c894a8535250eebc3ed7a724c
parentb70824219f228a9fa7c2bd1fc6b5a1fba882a08e
io_uring: move schedule wait logic into helper

In preparation for expanding how we handle waits, move the actual
schedule and schedule_timeout() handling into a helper.

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