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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jun 2018 19:02:52 +0000 (04:02 +0900)
commit666776d5f45d478ef97b087ebc9ca0f52e55fdc5
tree485b7b152b2aef550e3d0fac0ab1be5ec733f132
parent09e12b91d12c03c31fee65ab7e4052b7f14e006b
scsi: vmw-pvscsi: return DID_BUS_BUSY for adapter-initated aborts

[ Upstream commit f4b024271ae3e9786e5d6f1c05b01b57a74e1d6d ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/vmw_pvscsi.c