io_uring: helper for prep+queuing linked timeouts
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 15 Apr 2022 21:08:25 +0000 (22:08 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Apr 2022 01:23:58 +0000 (19:23 -0600)
commit65e46eb620ad7fa187415b25638a7b3fb1bc0be2
treefa5653268ae5c45b6a60eea5f8fe073862df264a
parentaeedb0f3f9938b2084fe8c912782b031a37161fa
io_uring: helper for prep+queuing linked timeouts

We try to aggresively inline the submission path, so it's a good idea to
not pollute it with colder code. One of them is linked timeout
preparation + queue, which can be extracted into a function.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/ecf74df7ac77389b6d9211211ec4954e91de98ba.1650056133.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c