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>
Tue, 21 Jan 2020 00:03:59 +0000 (17:03 -0700)
commit32fe525b6d10fec956cfe68f0db76839cd7f0ea5
tree022e98c38cf34170d7303baeeed6bf936adc2342
parent9d76377f7e13c19441fdd066033345289f89b5fe
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