summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-10-29 12:34:10 -0600
committerJens Axboe <axboe@kernel.dk>2019-10-29 15:43:30 -0600
commit842f96124c5617b060cc0f071dcfb6ab24bdd042 (patch)
tree2cd9617a5a7f63c53262dbd7aee1b5aefdaa3af7 /tools/perf/scripts/python/export-to-postgresql.py
parent65e19f54d29cd8559ce60cfd0d751bef7afbdc5c (diff)
io_uring: fix race with canceling timeouts
If we get -1 from hrtimer_try_to_cancel(), we know that the timer is running. Hence leave all completion to the timeout handler. If we don't, we can corrupt the list and miss a completion. Fixes: 11365043e527 ("io_uring: add support for canceling timeout requests") Reported-by: Hrvoje Zeba <zeba.hrvoje@gmail.com> Tested-by: Hrvoje Zeba <zeba.hrvoje@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