commit | c8576f3e612d3c5b01d434ae296b9b76d7907708 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Mon Jan 23 14:37:16 2023 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Jan 29 15:17:41 2023 -0700 |
tree | e920d94aea33013acfab94c19eb47f591c409d5d | |
parent | b5083dfa36676e7b5d72bf3d70f429a0d08c5075 [diff] |
io_uring: refactor req allocation Follow the io_get_sqe pattern returning the result via a pointer and hide request cache refill inside io_alloc_req(). Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/8c37c2e8a3cb5e4cd6a8ae3b91371227a92708a6.1674484266.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>