commit | 88ab95be7e408ff9cedc81ad5402ad4bd700baf9 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Tue Apr 12 15:09:47 2022 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Apr 24 18:02:46 2022 -0600 |
tree | f2cba1fbcc2fa4915ab3e19a5b085f19c3030a68 | |
parent | 23a5c43b2fc0cc210dcb36264fe3050468c79b17 [diff] |
io_uring: helper for empty req cache checks Add io_req_cache_empty(), which checks if there are requests in the inline req cache or not. It'll be needed in the future, but also nicely cleans up a few spots poking into ->free_list directly. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/b18662389f3fb483d0bd07906647f65f6037475a.1649771823.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>