diff options
| author | Pavel Begunkov <asml.silence@gmail.com> | 2022-04-12 17:09:47 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2022-04-25 03:02:46 +0300 |
| commit | 88ab95be7e408ff9cedc81ad5402ad4bd700baf9 (patch) | |
| tree | f2cba1fbcc2fa4915ab3e19a5b085f19c3030a68 /include | |
| parent | 23a5c43b2fc0cc210dcb36264fe3050468c79b17 (diff) | |
| download | linux-88ab95be7e408ff9cedc81ad5402ad4bd700baf9.tar.xz | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
