scsi: vmw-pvscsi: return DID_BUS_BUSY for adapter-initated aborts
authorJim Gill <jgill@vmware.com>
Sat, 21 Apr 2018 02:04:47 +0000 (19:04 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 2 May 2018 03:15:40 +0000 (23:15 -0400)
commitf4b024271ae3e9786e5d6f1c05b01b57a74e1d6d
tree34300dbaeb12137c49721aecdebceb467a764aca
parentf5957dade4f373b04fa1f5315a489f18cc2c4cb4
scsi: vmw-pvscsi: return DID_BUS_BUSY for adapter-initated aborts

The vmw_pvscsi driver returns DID_ABORT for commands aborted internally
by the adapter, leading to the filesystem going read-only. Change the
result to DID_BUS_BUSY, causing the kernel to retry the command.

Signed-off-by: Jim Gill <jgill@vmware.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/vmw_pvscsi.c