commit | 93bd25bb69f46367ba8f82c578e0c05702ceb482 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Mon Nov 11 23:34:31 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Nov 12 00:18:51 2019 -0700 |
tree | 85b308edb8abd25bd71ecb79b9419222433ddcb5 | |
parent | 65de03e251382306a4575b1779c57c87889eee49 [diff] |
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: 李通洲 <carter.li@eoitek.com> Reviewed-by: 李通洲 <carter.li@eoitek.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>