aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_debugfs.c
diff options
context:
space:
mode:
authorLuo Jiaxing <luojiaxing@huawei.com>2019-10-24 22:08:25 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2019-10-24 21:31:15 -0400
commitf873b66119f2d6fc7b932a68df8d77a26357bab6 (patch)
tree7cb350f345f8e38d41f7eacfb4a0679f6f07f55b /drivers/scsi/lpfc/lpfc_debugfs.c
parentscsi: hisi_sas: Delete the debugfs folder of hisi_sas when the probe fails (diff)
downloadlinux-dev-f873b66119f2d6fc7b932a68df8d77a26357bab6.tar.xz
linux-dev-f873b66119f2d6fc7b932a68df8d77a26357bab6.zip
scsi: hisi_sas: Record the phy down event in debugfs
The number of phy down reflects the quality of the link between SAS controller and disk. In order to allow the user to confirm the link quality of the system, we record the number of phy down for each phy. The user can check the current phy down count by reading the debugfs file corresponding to the specific phy, or clear the phy down count by writing 0 to the debugfs file. Link: https://lore.kernel.org/r/1571926105-74636-19-git-send-email-john.garry@huawei.com Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions