diff options
author | Douglas Gilbert <[email protected]> | 2020-07-23 15:48:19 -0400 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-07-29 00:00:01 -0400 |
commit | 84905d34f14987687ab1be64f15b453d11a41e55 (patch) | |
tree | 13cc4fc052baf3d1435ad6dc88e792b04f770a2b /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 02e3e588f0e1176e89c46b7aa27aebb947ec4ccd (diff) |
scsi: scsi_debug: Fix request sense
The SCSI REQUEST SENSE command emulation was found to be broken. It is a
quite complex command so try and make it do a subset of what it should
do. Remove the attempt to mimic SCSI-1 REQUEST SENSE (i.e. return the sense
data for the previous failed command). Add some reporting of "pollable"
sense data [see spc6r02: 5.12.2]. Keep the IEC mode page MRIE=6 TEST=1
predictive failure reporting.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Douglas Gilbert <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions