Re: [PATCH] io_uring/timeout: don't rearm a multishot timeout on cancel
From: Jens Axboe
Date: Mon Nov 16 2026 - 21:49:27 EST
On Sun, 15 Nov 2026 20:45:19 -0800, Cheng Yongkang wrote:
> io_timeout_complete() does not check tw.cancel. When it runs from
> io_cancel_local_task_work(), a multishot timeout that has not reached
> its count still posts an IORING_CQE_F_MORE completion and rearms its
> timer. With a zero interval the timer expires again right away and
> queues new task work, so the drain keeps running it until posting a
> CQE fails.
>
> [...]
Applied, thanks!
[1/1] io_uring/timeout: don't rearm a multishot timeout on cancel
(no commit info)
Best regards,
--
Jens Axboe