[SCSI] ibmvfc: Fixup command response translation
authorBrian King <brking@linux.vnet.ibm.com>
Mon, 15 Dec 2008 23:09:05 +0000 (17:09 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 2 Jan 2009 16:58:02 +0000 (10:58 -0600)
commit752b32329b48e0b7481e82a5f891aa5bf01f3782
treed6c4312d9da075bf038017a685802da810d4f1f4
parent3dbf6a54046052d79743822c9206af191e582ab0
[SCSI] ibmvfc: Fixup command response translation

If a link down event is received, outstanding commands may get
returned to the ibmvfc driver with a "transaction cancelled implicit"
response. This is currently translated to DID_ABORT, which does
not get retried by SCSI core, but rather passes the failure up
the stack. This can result in I/O errors at the filesystem level.
Fix up this response a well as a few other error responses.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/ibmvscsi/ibmvfc.c