[SCSI] bfa: Fix to avoid vport delete hang on request queue full scenario.
commitff179e0f4a4da030df52c0632b0615e9a13b5e66
authorKrishna Gudipati <kgudipat@brocade.com>
Wed, 14 Mar 2012 00:40:31 +0000 (13 17:40 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 28 Mar 2012 08:57:09 +0000 (28 09:57 +0100)
tree802f4a9caf9b9774f75709bce1779e88b17e51ee
parentf0cdfcee19b259c209a9acda45ab063fd962b66d
[SCSI] bfa: Fix to avoid vport delete hang on request queue full scenario.

Fixed the LPS (Logical Port Services) state machine to send a
FDISC/FLOGI to the FW from the request queue wait state, when
there is space available again on the request queue.
Made changes to free the vport on LOGO/cleanup complete instead
of free'ing it from vport_delete_handler in the module unload scenario.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bfa/bfa_fcs_lport.c
drivers/scsi/bfa/bfa_svc.c
drivers/scsi/bfa/bfad_attr.c