diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-11-11 23:34:31 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-11-12 00:18:51 -0700 |
commit | 93bd25bb69f46367ba8f82c578e0c05702ceb482 (patch) | |
tree | 85b308edb8abd25bd71ecb79b9419222433ddcb5 /block | |
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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions