diff options
| author | Pavel Begunkov <asml.silence@gmail.com> | 2021-09-24 21:59:50 +0100 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2021-10-19 05:49:53 -0600 |
| commit | 3aa83bfb6e5c3a89d0ec67e598ee04bfc1425b13 (patch) | |
| tree | 687eef1704b1946b5e41ffbb5b922c3378157ab3 /lib/mpi/mpi-sub-ui.c | |
| parent | 5eef4e87eb0b2b8482f6a77ebcad067636a867b3 (diff) | |
io_uring: add a helper for batch free
Add a helper io_free_batch_list(), which takes a single linked list and
puts/frees all requests from it in an efficient manner. Will be reused
later.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/4fc8306b542c6b1dd1d08e8021ef3bdb0ad15010.1632516769.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions
