Re: [PATCH] io_uring/timeout: count cancelled timeouts in cq_timeouts

From: Jens Axboe

Date: Thu Oct 29 2026 - 11:52:31 EST



On Thu, 29 Oct 2026 07:12:20 -0700, Cheng Yongkang wrote:
> io_timeout_cancel() posts the cancelled timeout's -ECANCELED CQE without
> advancing ctx->cq_timeouts. io_timeout_fn() and io_kill_timeout()
> advance it for every timeout CQE they post, and io_flush_timeouts()
> computes the number of non-timeout completions as
>
> seq = cached_cq_tail - cq_timeouts
>
> [...]

Applied, thanks!

[1/1] io_uring/timeout: count cancelled timeouts in cq_timeouts
commit: 1c8b49851543f41fc8bb18bcd1f15cc93d14b530

Best regards,
--
Jens Axboe