diff options
| author | Jens Axboe <[email protected]> | 2020-08-16 08:23:05 -0700 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-08-16 14:36:31 -0700 |
| commit | b711d4eaf0c408a811311ee3e94d6e9e5a230a9a (patch) | |
| tree | 12865258c97160581ba36671d77f54ad57df7e0c /scripts/gdb/linux/lists.py | |
| parent | 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff) | |
io_uring: find and cancel head link async work on files exit
Commit f254ac04c874 ("io_uring: enable lookup of links holding inflight files")
only handled 2 out of the three head link cases we have, we also need to
lookup and cancel work that is blocked in io-wq if that work has a link
that's holding a reference to the files structure.
Put the "cancel head links that hold this request pending" logic into
io_attempt_cancel(), which will to through the motions of finding and
canceling head links that hold the current inflight files stable request
pending.
Cc: [email protected]
Reported-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions