diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-01-26 15:28:26 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-01-26 08:51:08 -0700 |
commit | a1bb3cd58913338e1b627ea6b8c03c2ae82d293f (patch) | |
tree | 7d5dc5a5fbf032bfd7fedc1179a1fd3ec4c6797e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b18032bb0a883cd7edd22a7fe6c57e1059b81ed0 (diff) |
io_uring: fix __io_uring_files_cancel() with TASK_UNINTERRUPTIBLE
If the tctx inflight number haven't changed because of cancellation,
__io_uring_task_cancel() will continue leaving the task in
TASK_UNINTERRUPTIBLE state, that's not expected by
__io_uring_files_cancel(). Ensure we always call finish_wait() before
retrying.
Cc: stable@vger.kernel.org # 5.9+
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions