fusion: fibre channel: correct out of order event processing
Subsystems (2)
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.
Signed-off-by Michael Reed <[email protected]>
drivers/message/fusion/mptbase.h +0 -1
@@ -640,7 +640,6 @@ typedef struct _MPT_ADAPTERstruct 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