diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-01-16 11:52:11 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-01-16 12:13:59 -0700 |
commit | c93cc9e16d88e0f5ea95d2d65d58a8a4dab258bc (patch) | |
tree | 475e92df72996c3077abb8c0ab41e243dc2b85bc /fs/ocfs2/slot_map.h | |
parent | a8d13dbccb137c46fead2ec1a4f1fbc8cfc9ea91 (diff) |
io_uring: iopoll requests should also wake task ->in_idle state
If we're freeing/finishing iopoll requests, ensure we check if the task
is in idling in terms of cancelation. Otherwise we could end up waiting
forever in __io_uring_task_cancel() if the task has active iopoll
requests that need cancelation.
Cc: stable@vger.kernel.org # 5.9+
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/ocfs2/slot_map.h')
0 files changed, 0 insertions, 0 deletions