]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit777804f5f7dd7acd2c7b73f2216788ac25fc6ca8
tree03f311351e7ee56f5315f61e23e5ca3bddbe76b2
parent55e5a52a9b83a869e56c3ca4782caf8d5a61f04d
[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