commit | 0553b8bda8709c47863eab3fff7ac32ad04ca52b | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Wed Apr 08 08:58:45 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Apr 08 09:26:28 2020 -0600 |
tree | aeb5e95790b5cf86ec77d45e578189f4dfd4fce3 | |
parent | b1e50e549b1372d9742509230dc4af7dd521d984 [diff] |
io_uring: remove req init from io_get_req() io_get_req() do two different things: io_kiocb allocation and initialisation. Move init part out of it and rename into io_alloc_req(). It's simpler this way and also have better data locality. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>