[SCSI] ibmvfc: Send cancel when link is down
authorBrian King <brking@linux.vnet.ibm.com>
Fri, 12 Apr 2013 13:25:17 +0000 (08:25 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 2 May 2013 18:57:24 +0000 (11:57 -0700)
commit55d29bf00f57200cc8b3d3e3e45614baaf5ca27d
tree7b9c12e6798b56adb247987fe3ce1b2fb5f4cd25
parent93631b4aac7cac29a1ba9c0b849bf527b7e07028
[SCSI] ibmvfc: Send cancel when link is down

If attempting to abort requests due to a fail fail timeout
or error handling while the link is down, we cannot send
an abort out on the fabric. We can, however, send a cancel
to the VIOS. This fixes ibmvfc to send a cancel in this
case to prevent error handling from failing and/or
escalating.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Acked-by: Robert Jennings <rcj@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/ibmvscsi/ibmvfc.c