]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add a helper timeout mode calculation
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 19 Jan 2021 13:32:44 +0000 (13:32 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Feb 2021 17:02:42 +0000 (10:02 -0700)
commit8eb42ca51d92d250a53085e1ab44c584bb717714
treee27783fc002bff3099735888d72b00f066201a61
parentadd9c9fbba31dcd93f5a056411146fbe5514e21a
io_uring: add a helper timeout mode calculation

Deduplicates translation of timeout flags into hrtimer_mode.

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