aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2022-06-25 11:52:58 +0100
committerJens Axboe <[email protected]>2022-07-24 18:39:16 -0600
commit37c7bd31b3e9e4b6aee3c5227f789c0b586a33a2 (patch)
treedce2f51288972fb8fa8dd77e3832b80c377124e4 /tools/perf/scripts/python
parentfe991a7688f894a74a6f6b4933bf6cd5fa086c1b (diff)
io_uring: improve io_fail_links()
io_fail_links() is called with ->completion_lock held and for that reason we'd want to keep it as small as we can. Instead of doing __io_req_complete_post() for each linked request under the lock, fail them in a task_work handler under ->uring_lock. Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/a2f68708b970a21f4e84ddfa7b3abd67a8fffb27.1656153285.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions