[PATCHv4 0/8] nvme: export additional diagnostic counters via sysfs

Keith Busch kbusch at kernel.org
Thu Jun 4 01:58:07 PDT 2026


On Sun, May 17, 2026 at 12:06:47AM +0530, Nilay Shroff wrote:
> Hi,
> 
> The NVMe driver encounters various events and conditions during normal
> operation that are either not tracked today or not exposed to userspace
> via sysfs. Lack of visibility into these events can make it difficult to
> diagnose subtle issues related to controller behavior, multipath
> stability, and I/O reliability.
> 
> This patchset adds several diagnostic counters that provide improved
> observability into NVMe behavior. These counters are intended to help
> users understand events such as transient path unavailability,
> controller retries/reconnect/reset, failovers, and I/O failures. They
> can also be consumed by monitoring tools such as nvme-top.
> 
> Specifically, this series proposes to export the following counters via
> sysfs:
>   - Command retry count
>   - Multipath failover count
>   - Command error count
>   - I/O requeue count
>   - I/O failure count
>   - Controller reset event counts
>   - Controller reconnect counts

Thanks, applied to nvme-7.2.



More information about the Linux-nvme mailing list