From: Alex Netes <[email protected]>
Date: Sun, 5 Aug 2012 11:50:07 +0300

When SM in MASTER state, receives HANDOVER request from some other
MASTER SM or it didn't response (POLLING_TIMEOUT), we must reconfigure
the whole fabric as it was the first SM sweep, as we don't know what
the other MASTER SM configured earlier.

Signed-off-by: Alex Netes <[email protected]>
Signed-off-by: Hal Rosenstock <[email protected]>
---
 opensm/osm_sm_state_mgr.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/opensm/osm_sm_state_mgr.c b/opensm/osm_sm_state_mgr.c
index e5a11da..5e4b06a 100644
--- a/opensm/osm_sm_state_mgr.c
+++ b/opensm/osm_sm_state_mgr.c
@@ -450,6 +450,8 @@ ib_api_status_t osm_sm_state_mgr_process(osm_sm_t * sm,
                         */
                        sm->p_subn->set_client_rereg_on_sweep = TRUE;
                        sm->polling_sm_guid = 0;
+                       sm->p_subn->first_time_master_sweep = TRUE;
+                       sm->p_subn->coming_out_of_standby = TRUE;
                        sm->p_subn->force_heavy_sweep = TRUE;
                        osm_sm_signal(sm, OSM_SIGNAL_SWEEP);
                        break;
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to