diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-04-20 15:40:54 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-25 03:18:17 +0300 |
commit | 3645c2000a7694022c39c545676c12fb9190855a (patch) | |
tree | 93d48c5a49a8803a7f3bfd9719e3c8d78fdcf95b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5e45690a1cb8cb591ccf4a517cdd6ad6cb369ac4 (diff) | |
download | linux-3645c2000a7694022c39c545676c12fb9190855a.tar.xz |
io_uring: move timeout locking in io_timeout_cancel()
Move ->timeout_lock grabbing inside of io_timeout_cancel(), so
we can do io_req_task_queue_fail() outside of the lock. It's much nicer
than relying on triple nested locking.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/cde758c2897930d31e205ed8f476d4ec879a8849.1650458197.git.asml.silence@gmail.com
[axboe: drop now wrong timeout_lock annotation]
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