diff options
| author | Pavel Begunkov <[email protected]> | 2022-06-20 01:25:52 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-07-24 18:39:14 -0600 |
| commit | affa87db90108d9f017f927bcdab536e32c3915e (patch) | |
| tree | c63ab3539a958e3c15741d34352f5a30fab5deb9 /tools/perf/scripts/python | |
| parent | d9dee4302a7cbd6c0142dbdf6d150acc7459de0d (diff) | |
io_uring: fix multi ctx cancellation
io_uring_try_cancel_requests() loops until there is nothing left to do
with the ring, however there might be several rings and they might have
dependencies between them, e.g. via poll requests.
Instead of cancelling rings one by one, try to cancel them all and only
then loop over if we still potenially some work to do.
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/8d491fe02d8ac4c77ff38061cf86b9a827e8845c.1655684496.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