commit | ef4ff581102a917a69877feca2e5347e2f3e458c | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sun Apr 12 02:05:05 2020 +0300 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Apr 12 08:46:50 2020 -0600 |
tree | 47e59da1e94e50692e8107e5ca7a9c7901b36e1f | |
parent | dea3b49c7fb09b4f6b6a574c0485ffeb9df7b69c [diff] |
io_uring: move all request init code in one place Requests initialisation is scattered across several functions, namely io_init_req(), io_submit_sqes(), io_submit_sqe(). Put it in io_init_req() for better data locality and code clarity. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>