]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit0c79d22f9adc4a4c38a07d535faf8cafc6a2f5d9
tree7b9c12e6798b56adb247987fe3ce1b2fb5f4cd25
parent03f38ac78230778c0143ac262be57df77defe3d1
[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