io_uring: move *queue_link_head() from common path
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 17 Dec 2019 19:26:58 +0000 (22:26 +0300)
committerJens Axboe <axboe@kernel.dk>
Sat, 28 Dec 2019 19:02:36 +0000 (12:02 -0700)
commitcdb3e91494bf3de088cadb10b98ce926a0842ba3
treeee24890c18030c6f8b826fa7320e53af07f8a1f7
parent613e36adabcff97fb39d72f474fb9525e9f60eb6
io_uring: move *queue_link_head() from common path

Move io_queue_link_head() to links handling code in io_submit_sqe(),
so it wouldn't need extra checks and would have better data locality.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c