]> git.baikalelectronics.ru Git - 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)
commitd33b1bfcfaf413d2742719c65e1efcaf3e980893
treecad1bbcde4c8eeace19fd6d3c639fe61a58cc6e4
parentc9df24230e25379d8a024ce09a43e8c289e46d78
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