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>
Wed, 20 Apr 2022 22:21:23 +0000 (16:21 -0600)
commitc8b12ebb72d0295937cf36ce1c89bac37c369d94
tree0ed84eed6e4e8a706a29c2c01a30d09b5a9f3f22
parent61e68692957315bfe3c5a3d5c97a795d1d3c3786
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