diff options
| author | Nilay Shroff <nilay@linux.ibm.com> | 2026-05-17 00:06:54 +0530 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-06-04 01:57:36 -0700 |
| commit | 29aafaaf582b342ef3e2182cefd0c2aac6e9f3a8 (patch) | |
| tree | d5381172fe0aad63862da4bfdcfba4ec79af3662 /include/linux/timerqueue_types.h | |
| parent | a8e434cb033817b29e7ad03e8df43071a1c7e90e (diff) | |
nvme: export controller reset event count via sysfs
The NVMe controller transitions into the RESETTING state during error
recovery, link instability, firmware activation, or when a reset is
explicitly triggered by the user.
Expose a per-ctrl sysfs attribute reset_count, under diag attribute
group to provide visibility into these RESETTING state transitions.
Observing the frequency of reset events can help users identify issues
such as PCIe errors or unstable fabric links. This counter is also
writable thus allowing user to reset its value, if needed.
This counter can also be consumed by monitoring tools such as nvme-top
to improve controller-level observability.
Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Signed-off-by: Nilay Shroff <nilay@linux.ibm.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions
