diff options
| author | Jim Gill <[email protected]> | 2018-08-02 21:13:30 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2018-08-03 17:56:22 +0000 |
| commit | e95153b64d03c2b6e8d62e51bdcc33fcad6e0856 (patch) | |
| tree | b5aa21821932bb485df8bffdab9bfd26b2673f77 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | scsi: sr: Avoid that opening a CD-ROM hangs with runtime power management ena... (diff) | |
| download | kernel-e95153b64d03c2b6e8d62e51bdcc33fcad6e0856.tar.gz kernel-e95153b64d03c2b6e8d62e51bdcc33fcad6e0856.zip | |
scsi: vmw_pvscsi: Return DID_RESET for status SAM_STAT_COMMAND_TERMINATED
Commands that are reset are returned with status
SAM_STAT_COMMAND_TERMINATED. PVSCSI currently returns DID_OK |
SAM_STAT_COMMAND_TERMINATED which fails the command. Instead, set hostbyte
to DID_RESET to allow upper layers to retry.
Tested by copying a large file between two pvscsi disks on same adapter
while performing a bus reset at 1-second intervals. Before fix, commands
sometimes fail with DID_OK. After fix, commands observed to fail with
DID_RESET.
Signed-off-by: Jim Gill <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
