commit | 74ce6ce43d4fc6ce15efb21378d9ef26125c298b | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Mon Apr 13 11:09:12 2020 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Apr 13 11:09:12 2020 -0600 |
tree | 216ea232a9e67e8063b69c68b898ee45086f3abe | |
parent | 88357580854aab29d27e1a443575caaedd081612 [diff] |
io_uring: check for need to re-wait in polled async handling We added this for just the regular poll requests in commit a6ba632d2c24 ("io_uring: retry poll if we got woken with non-matching mask"), we should do the same for the poll handler used pollable async requests. Move the re-wait check and arm into a helper, and call it from io_async_task_func() as well. Signed-off-by: Jens Axboe <axboe@kernel.dk>