diff options
author | Wenchao Hao <haowenchao2@huawei.com> | 2023-10-10 17:20:44 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-10-16 20:50:11 -0400 |
commit | 962d77cd4c852e6a34ffd44fc5f32ba678e02633 (patch) | |
tree | bc85ddff5817735d4d5134cc7b70ab06faaf1f41 /io_uring/slist.h | |
parent | a9996d722b1197b625acfa350dd2849e35ad6092 (diff) | |
download | linux-962d77cd4c852e6a34ffd44fc5f32ba678e02633.tar.gz linux-962d77cd4c852e6a34ffd44fc5f32ba678e02633.tar.bz2 linux-962d77cd4c852e6a34ffd44fc5f32ba678e02633.zip |
scsi: scsi_debug: Define grammar to remove added error injection
The grammar to remove error injection is a line with fixed 3 columns
separated by spaces.
First column is fixed to "-". It tells this is a removal operation. Second
column is the error code to match. Third column is the scsi command to
match.
For example the following command would remove timeout injection of inquiry
command:
echo "- 0 0x12" > /sys/kernel/debug/scsi_debug/0:0:0:1/error
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Wenchao Hao <haowenchao2@huawei.com>
Link: https://lore.kernel.org/r/20231010092051.608007-4-haowenchao2@huawei.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'io_uring/slist.h')
0 files changed, 0 insertions, 0 deletions