commit | 9a4fdbd8ee0d8aca0cb5692446e5ca583b230cd7 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Sat Feb 13 09:09:44 2021 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Feb 13 09:09:44 2021 -0700 |
tree | b6fbe7f4f4173da7889132aeee6675c066c6a754 | |
parent | 68e68ee6e359318c40891f614612616d219066d0 [diff] |
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: Jens Axboe <axboe@kernel.dk>