Files
twx-linux/drivers
Jim Gill 8bbbd3a9a0 scsi: vmw_pvscsi: Return DID_RESET for status SAM_STAT_COMMAND_TERMINATED
[ Upstream commit e95153b64d ]

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 <jgill@vmware.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-05 09:18:36 +02:00
..
…
2018-08-06 16:24:36 +02:00
2018-07-22 14:25:52 +02:00
…
…
…
…
…
…
…
…
2018-06-16 09:54:26 +02:00
…
…
…
2018-08-22 07:48:38 +02:00
…
…
…
…
…
…
…
…
…
…
2018-07-25 10:18:17 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…