]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
io_uring: kill cached requests from exiting task closing the ring
authorJens Axboe <axboe@kernel.dk>
Sat, 13 Feb 2021 16:11:04 +0000 (09:11 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 13 Feb 2021 16:11:04 +0000 (09:11 -0700)
commit41be53e94fb04cc69fdf2f524c2a05d8069e047b
treecad1bbcde4c8eeace19fd6d3c639fe61a58cc6e4
parent9a4fdbd8ee0d8aca0cb5692446e5ca583b230cd7
io_uring: kill cached requests from exiting task closing the ring

Be nice and prune these upfront, in case the ring is being shared and
one of the tasks is going away. This is a bit more important now that
we account the allocations.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c