Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
io_uring : correct timeout req sequence when waiting timeout
The sequence number of reqs on the timeout_list before the timeout req should be adjusted in io_timeout_fn(), because the current timeout req will consumes a slot in the cq_ring and cq_tail pointer will be increased, otherwise other timeout reqs may return in advance without waiting for enough wait_nr. Signed-off-by: zhangyi (F) <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information