io_uring: track link's head and tail during submit
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 27 Oct 2020 23:25:35 +0000 (23:25 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 Dec 2020 19:03:59 +0000 (12:03 -0700)
commit863e05604a6fb45f0f56b3e9eca5cd533001253b
tree90d7dfe47fddafa08e63ec7a49ca0034e9a0fb39
parent018043be1f1bc43ad6956bfd39b7beea12fb4ca6
io_uring: track link's head and tail during submit

Explicitly save not only a link's head in io_submit_sqe[s]() but the
tail as well. That's in preparation for keeping linked requests in a
singly linked list.

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