]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: hisi_sas: Add latest_dump for the debugfs dump
authorYihang Li <liyihang9@huawei.com>
Tue, 8 Oct 2024 02:18:22 +0000 (10:18 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 16 Oct 2024 02:33:35 +0000 (22:33 -0400)
commitcae668130c07f6873718b6f5b415d22e1008f2c9
tree81f0ccbc356ffdf2acedb24f72e913c55787093b
parent9f564f15f88490b484e02442dc4c4b11640ea172
scsi: hisi_sas: Add latest_dump for the debugfs dump

Before that, after the user triggers the dump, the latest dump
information can be viewed in the directory with the maximum number in
the dump directory.

After this series patch, the driver creates all debugfs directories and
files during initialization. Therefore, users cannot know the directory
where the latest dump information is stored. So, add latest_dump file to
notify users where the latest dump information is stored.

Signed-off-by: Yihang Li <liyihang9@huawei.com>
Link: https://lore.kernel.org/r/20241008021822.2617339-14-liyihang9@huawei.com
Reviewed-by: Xingui Yang <yangxingui@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c