From: Seokmann Ju Date: Thu, 10 Jul 2008 23:55:58 +0000 (-0700) Subject: [SCSI] qla2xxx: Correct rport/fcport visibility-state handling during loop-resync. X-Git-Tag: v2.6.27-rc1~55^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5de1f70f4103253f72d92da16d9618bc573b4534;p=pandora-kernel.git [SCSI] qla2xxx: Correct rport/fcport visibility-state handling during loop-resync. There were several issues here, one, during RSCN handling if a follow-on RSCN occurred (within interrupt context) the DPC thread could inadvertantly leave the fcport in a stale lost state. Secondly, scheduled rport removal is handled exclusively by the 'parent' DPC thread, so wake up the proper thread. Finally, process vport loop-resync's only when the vport has in an "active" state (ID acquired). Signed-off-by: Seokmann Ju Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley --- Reading git-diff-tree failed