Re: [PATCH v2 RESEND] io_uring/fdinfo: add timeout_list to fdinfo

From: Pavel Begunkov
Date: Wed Sep 25 2024 - 08:45:08 EST


On 9/25/24 09:58, Ruyi Zhang wrote:
io_uring fdinfo contains most of the runtime information,which is
helpful for debugging io_uring applications; However, there is
currently a lack of timeout-related information, and this patch adds
timeout_list information.

Please refer to unaddressed comments from v1. We can't have irqs
disabled for that long. And it's too verbose (i.e. depends on
the number of timeouts).


--
changes since v1:
- use _irq version spin_lock.
- Fixed formatting issues and delete redundant code.
- v1 :https://lore.kernel.org/io-uring/20240812020052.8763-1-ruyi.zhang@xxxxxxxxxxx/
--

Signed-off-by: Ruyi Zhang <ruyi.zhang@xxxxxxxxxxx>

--
Pavel Begunkov