diff options
author | 2021-08-03 17:54:09 +0300 | |
---|---|---|
committer | 2021-08-17 22:28:40 -0400 | |
commit | 44678553ad7eb59be3092d6677d8d4a00289afda (patch) | |
tree | 67b94778206cccd8e635cbb9dff224584eaed2de /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: smartpqi: Replace one-element array with flexible-array member (diff) | |
download | wireguard-linux-44678553ad7eb59be3092d6677d8d4a00289afda.tar.xz wireguard-linux-44678553ad7eb59be3092d6677d8d4a00289afda.zip |
scsi: target: Allows backend drivers to fail with specific sense codes
Currently, backend drivers can fail I/O with SAM_STAT_CHECK_CONDITION which
gets us TCM_LOGICAL_UNIT_COMMUNICATION_FAILURE.
Add a new helper that allows backend drivers to fail with specific sense
codes.
This is based on a patch from Mike Christie <michael.christie@oracle.com>.
Cc: Mike Christie <michael.christie@oracle.com>
Link: https://lore.kernel.org/r/20210803145410.80147-2-s.samoylenko@yadro.com
Reviewed-by: David Disseldorp <ddiss@suse.de>
Signed-off-by: Sergey Samoylenko <s.samoylenko@yadro.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions