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>
Wed, 15 Jan 2020 22:05:01 +0000 (15:05 -0700)
commit097a61ecf59664e440795e4bbf739ed8a644397d
tree5658fa93bfbdeb36774feab939b90f12500318a7
parent6ef463cbbb08489f9ce1001a484bb69dbcc5c90f
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