Skip to contentSkip to conversation

fusion: fibre channel: correct out of order event processing

PATCH In review Michael Reed 1 participant 1 message Jul 31, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/4 fusion: fibre channel: 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.

drivers/message/fusion/mptbase.h +0 -1
@@ -640,7 +640,6 @@ typedef struct _MPT_ADAPTER
 	struct work_struct	 fc_setup_reset_work;
 	struct list_head	 fc_rports;
 	spinlock_t		 fc_rescan_work_lock;
-	int			 fc_rescan_work_count;
 	struct work_struct	 fc_rescan_work;
 	char			 fc_rescan_work_q_name[KOBJ_NAME_LEN];
 	struct workqueue_struct *fc_rescan_work_q;
drivers/message/fusion/mptfc.c +36 -55

122 lines not on this page · raw message