[SCSI] ibmvscsi: Improve CRQ reset reliability
authorBrian King <brking@linux.vnet.ibm.com>
Wed, 27 Apr 2011 15:27:08 +0000 (10:27 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 1 May 2011 17:09:58 +0000 (12:09 -0500)
commit201aed678482f247aa96bd8fcd9e960fefd82d59
tree206d28c41b43265a5abaf651b04fa503765b9101
parent4d4dd7065572225bf6d97e5eb9915d94f9d53548
[SCSI] ibmvscsi: Improve CRQ reset reliability

This patch fixes an issue seen where an event occurs
which causes the ibmvscsi driver to reset its CRQ. Upon
re-registering its CRQ, it receives H_CLOSED, indicating
the Virtual I/O Server is not yet ready to receive commands.
This resulted in the ibmvscsi driver essentially offlining
the adapter and not recovering. The fix is to re-enable
our interrupt so that when the Virtual I/O server is ready
and sends a CRQ init, we will be able to receive it and
resume initialization of the VSCSI adapter.

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