Skip to content
Commit 93bd25bb authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: make timeout sequence == 0 mean no sequence



Currently we make sequence == 0 be the same as sequence == 1, but that's
not super useful if the intent is really to have a timeout that's just
a pure timeout.

If the user passes in sqe->off == 0, then don't apply any sequence logic
to the request, let it purely be driven by the timeout specified.

Reported-by: default avatar李通洲 <carter.li@eoitek.com>
Reviewed-by: default avatar李通洲 <carter.li@eoitek.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 65de03e2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment