io_uring: fix CQ waiting timeout handling
Quoted 8 lines · Pavel Begunkov
Jiffy to ktime CQ waiting conversion broke how we treat timeouts, in particular we rearm it anew every time we get into
io_cqring_wait_schedule()without adjusting the timeout. Waiting for 2 CQEs and getting atask_workin the middle may double the timeout value, or even worse in some cases task may wait indefinitely.[...]
Applied, thanks!
[1/1] io_uring: fix CQ waiting timeout handling
commit: 12521a5d5cb7ff0ad43eadfc9c135d86e1131fa8
Best regards,
Signature · 1 line
Jens Axboe