[SCSI] mptfc: correct out of order event processing
authorMichael Reed <mdr@sgi.com>
Mon, 31 Jul 2006 17:19:50 +0000 (12:19 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 6 Aug 2006 20:48:31 +0000 (15:48 -0500)
commit3a0c56d801df6785b30e36c19e89d7e971c151da
tree03f311351e7ee56f5315f61e23e5ca3bddbe76b2
parent77d88ee275aeba5da447987f30401bbd4c901ca9
[SCSI] mptfc: correct out of order event processing

This patch corrects a problem in mptfc which can result in targets
being removed after executing an "lsiutil 99" reset of the fibre
channel ports.

The last rescan event was being processed before the setup reset work
due to an inappropriate optimization in the event processing logic.
Every rescan event is now queued for execution and the setup reset
work now executes in the proper sequence.

Signed-off-by: Michael Reed <mdr@sgi.com>
Acked-by: Moore, Eric <Eric.Moore@lsil.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/message/fusion/mptbase.h
drivers/message/fusion/mptfc.c