[SCSI] ibmvfc: Improve async event handling
authorBrian King <brking@linux.vnet.ibm.com>
Thu, 18 Dec 2008 15:26:51 +0000 (09:26 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 29 Dec 2008 17:24:34 +0000 (11:24 -0600)
commitd2131b33c7e07c2905ee2f2321cc4dae1928c483
tree9f1dfb9ab936ca7963f93106cb2eaf6c03f26850
parent87b5c328c7e32ab9075086f990001bffb7b19550
[SCSI] ibmvfc: Improve async event handling

While doing various error injection testing, such as cable
pulls and target moves, some issues were observed in handling
these events. This patch improves the way these events are handled
by increasing the delay waiting for the fabric to settle and also
changes the behavior of Link Up to break the CRQ to ensure everything
gets cleaned up properly on the VIOS.

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