diff options
| author | Orkun Emin Sarı <sariorkunemin@gmail.com> | 2026-11-04 19:51:42 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-11-04 10:25:14 -0700 |
| commit | cf6542493e35ab9e72ac07da10a178ac78db5a16 (patch) | |
| tree | 8a5c60b18c0b7b2b2c7894f2198f8a6b057664df /scripts/livepatch/Makefile | |
| parent | 21662435a5ee49c49a5ff05f2ddcde87acb7b293 (diff) | |
io_uring: only wait for in-flight requests if the closing task uses the ring
Since commit 13d3783a55b7 ("io_uring: wait for in-flight requests on
ring release"), the task dropping the last reference to a ring waits
for every request on it to complete. A process that only received the
ring fd, e.g. over a UNIX socket, can then block in close(2) on
requests owned by other tasks, such as a read from an unresponsive
FUSE server.
Skip the wait for tasks that never attached to the ring and leave those
requests to io_ring_exit_work(), as before.
Fixes: 13d3783a55b7 ("io_uring: wait for in-flight requests on ring release")
Signed-off-by: Orkun Emin Sarı <sariorkunemin@gmail.com>
Link: https://patch.msgid.link/20261104-io-uring-wait-inflight-v2-1-f38f29fe8018@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/livepatch/Makefile')
0 files changed, 0 insertions, 0 deletions
