diff options
author | Moore, Eric Dean <Eric.Moore@lsil.com> | 2005-12-01 12:50:32 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-12-01 16:59:51 -0500 |
commit | 2a238ea5fbf2bd9a18a4ffb607418a4b9394647e (patch) | |
tree | dc505a831abdb22879e86187b3ae01912a02f604 /drivers/message/fusion/mptbase.h | |
parent | 8b2f81385aa02e9405990b7fe44462dfceb75ef7 (diff) |
[SCSI] mptfusion : dv performance fix
Syncronization for Domain Validation workqueue and the initiation of the
alternate controller. Its possible that dv could be terminated if the
workqueue on the 1st channel doesn complete in time before the 2nd channel
begins initialization.
Signed-off-by: Eric Moore <Eric.Moore@lsil.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/message/fusion/mptbase.h')
-rw-r--r-- | drivers/message/fusion/mptbase.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h index 8ad277a9afa1..a564ae36a2c2 100644 --- a/drivers/message/fusion/mptbase.h +++ b/drivers/message/fusion/mptbase.h | |||
@@ -611,6 +611,8 @@ typedef struct _MPT_ADAPTER | |||
611 | int DoneCtx; | 611 | int DoneCtx; |
612 | int TaskCtx; | 612 | int TaskCtx; |
613 | int InternalCtx; | 613 | int InternalCtx; |
614 | spinlock_t initializing_hba_lock; | ||
615 | int initializing_hba_lock_flag; | ||
614 | struct list_head list; | 616 | struct list_head list; |
615 | struct net_device *netdev; | 617 | struct net_device *netdev; |
616 | struct list_head sas_topology; | 618 | struct list_head sas_topology; |
@@ -1001,6 +1003,7 @@ extern void mpt_free_fw_memory(MPT_ADAPTER *ioc); | |||
1001 | extern int mpt_findImVolumes(MPT_ADAPTER *ioc); | 1003 | extern int mpt_findImVolumes(MPT_ADAPTER *ioc); |
1002 | extern int mpt_read_ioc_pg_3(MPT_ADAPTER *ioc); | 1004 | extern int mpt_read_ioc_pg_3(MPT_ADAPTER *ioc); |
1003 | extern int mptbase_sas_persist_operation(MPT_ADAPTER *ioc, u8 persist_opcode); | 1005 | extern int mptbase_sas_persist_operation(MPT_ADAPTER *ioc, u8 persist_opcode); |
1006 | extern int mpt_alt_ioc_wait(MPT_ADAPTER *ioc); | ||
1004 | 1007 | ||
1005 | /* | 1008 | /* |
1006 | * Public data decl's... | 1009 | * Public data decl's... |