io_uring: move SQPOLL post-wakeup ring need wakeup flag into wake handler
authorJens Axboe <axboe@kernel.dk>
Wed, 2 Sep 2020 18:42:47 +0000 (12:42 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 5 Sep 2020 22:07:35 +0000 (16:07 -0600)
commitb1abe842d31e08d9ebe6b049e4895fdc54d2fe21
tree056263d6654e7e0d717a432a8609579997375cdd
parentd4b115a09a10d8c5efbe0597f8bc7ad4b4db6483
io_uring: move SQPOLL post-wakeup ring need wakeup flag into wake handler

We need to decouple the clearing on wakeup from the the inline schedule,
as that is going to be required for handling multiple rings in one
thread.

Wrap our wakeup handler so we can clear it when we get the wakeup, by
definition that is when we no longer need the flag set.

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