[SCSI] ibmvfc: Add flush on halt support
authorBrian King <brking@linux.vnet.ibm.com>
Thu, 28 May 2009 21:17:30 +0000 (16:17 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 8 Jun 2009 18:07:45 +0000 (13:07 -0500)
commit497f9c504f76e7a751cd370604e1c8521743746d
treeba7c6a0bb9044d1d6b723c99c028b5d8121344e9
parent79111d0899a122fa3cf0a2921292c3e6a25452d0
[SCSI] ibmvfc: Add flush on halt support

The virtual I/O server controlling the NPIV adapter associated with
a virtual fibre channel adapter can send a HALT event to the client.
When this occurs, the client can no longer send commands until a RESUME
is received. By adding support for flush on halt, we will get all of
our outstanding commands flushed back before the Virtual I/O server
enters the halt state, eliminating potential command timeouts for
outstanding commands which might occur if we did not support this feature.

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