Skip to content
Commit 9a4fdbd8 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: add helper to free all request caches



We have three different ones, put it in a helper for easy calling. This
is in preparation for doing it outside of ring freeing as well. With
that in mind, also ensure that we do the proper locking for safe calling
from a context where the ring it still live.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 68e68ee6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment