diff options
| author | Wenchao Hao <[email protected]> | 2023-10-10 17:20:51 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2023-10-16 20:50:12 -0400 |
| commit | 573c2d066eb950dd9bd6e8735d3a859bbc21b3cc (patch) | |
| tree | 963862fa7cd5ce488327897ec5b22a87b4d9aa8e /scripts/gcc-plugins/gcc-common.h | |
| parent | f084fe52c640775de51056670f568ec7104b922a (diff) | |
scsi: scsi_debug: Add param to control sdev's allow_restart
Add new module param "allow_restart" to control scsi_device's allow_restart
flag. This flag determines if EH is triggered after a command completes
with sense_key 0x6, ASC 0x4 and ASCQ 0x2. EH would be triggered if
allow_restart=1 in this condition.
The new param can be used with the error injection capability to test how
commands completing with sense_key 0x6, ASC 0x4 and ASCQ 0x2 are handled.
Signed-off-by: Wenchao Hao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Douglas Gilbert <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions