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, 25 Apr 2022 00:02:49 +0000 (18:02 -0600)
commitcb2d344c7551c250c07c009639eb81d54235ef8b
tree2a9d4c3f3864456ede2fb2da5595f23e211c7db4
parentf5c6cf2a310d8de3bd02aa8a217f8ca63df6f236
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