diff options
author | Wenchao Hao <haowenchao2@huawei.com> | 2023-10-10 11:20:50 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-10-17 02:50:11 +0200 |
commit | f084fe52c640775de51056670f568ec7104b922a (patch) | |
tree | 258ff4ee7368651ffc8fc4f7696aec779a68712d /drivers/phy/phy-xgene.c | |
parent | scsi: scsi_debug: Add new error injection type: Reset LUN failed (diff) | |
download | linux-f084fe52c640775de51056670f568ec7104b922a.tar.xz linux-f084fe52c640775de51056670f568ec7104b922a.zip |
scsi: scsi_debug: Add debugfs interface to fail target reset
The interface is found at
/sys/kernel/debug/scsi_debug/target<h:c:t>/fail_reset where <h:c:t>
identifies the target to inject errors on. It's a simple bool type
interface which would make this target's reset fail if set to 'Y'.
Signed-off-by: Wenchao Hao <haowenchao2@huawei.com>
Link: https://lore.kernel.org/r/20231010092051.608007-10-haowenchao2@huawei.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/phy/phy-xgene.c')
0 files changed, 0 insertions, 0 deletions