]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/io_uring.c
io_uring: off timeouts based only on completions
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 30 May 2020 11:54:18 +0000 (14:54 +0300)
committerJens Axboe <axboe@kernel.dk>
Sat, 30 May 2020 13:38:18 +0000 (07:38 -0600)
commitbfe68a221905de37e65394a6d58c1e5f3e545d2f
treec9e52dad7c19c896c1b7d026dcc7825a7d114cef
parent360428f8c0cd857006a8a3f515946285370489ac
io_uring: off timeouts based only on completions

Offset timeouts wait not for sqe->off non-timeout CQEs, but rather
sqe->off + number of prior inflight requests. Wait exactly for
sqe->off non-timeout completions

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