]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit693420c975da02589b2ef967caede3b6945492fd
tree34300dbaeb12137c49721aecdebceb467a764aca
parent52722a762910194f1143b1cf569340db6c5ffa11
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