[PATCHv2 2/7] nvme: export multipath failover count via sysfs
Sagi Grimberg
sagi at grimberg.me
Sat Feb 7 05:30:56 PST 2026
On 05/02/2026 14:48, Nilay Shroff wrote:
> When an NVMe command completes with a path-specific error, the NVMe
> driver may retry the command on an alternate controller or path if one
> is available. These failover events indicate that I/O was redirected
> away from the original path.
>
> Currently, the number of times requests are failed over to another
> available path is not visible to userspace. Exposing this information
> can be useful for diagnosing path health and stability.
>
> Export the multipath failover count through sysfs to provide visibility
> into path failover behavior. This statistic can be consumed by
> monitoring tools such as nvme-top to help identify paths that
> consistently trigger failovers under load.
Same comment. Other than that, patch looks fine.
More information about the Linux-nvme
mailing list