summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2026-09-08 17:03:12 +0000
committerJens Axboe <axboe@kernel.dk>2026-09-28 11:47:41 -0600
commit89baa3154a722588b37f3dc76bc2b5f70d2206d7 (patch)
treeb6540af96813cb8c72e1818df1d824cd3a12e605 /tools/lib/python
parent044e5f30b3e0efe96dac1b75e15621bfbdb0a767 (diff)
io_uring: run cancelations synchronously on ring release
io_uring_release() just marks the ring as dying and punts everything else to exit_work, including the cancelation of requests that are easily cancelable right away Until that work has run, and the task_work it generates has as well, those requests keep their files pinned. An application that closes its ring and then expects the files it had been using to be closed as well may be confused by this currently not being the case. Re-factor the cancelation pass out of io_ring_exit_work() and run it directly from release, before punting the rest. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions