We need to clean the database from dropped nodes/ports even in the cases where we find other Master SM and might leave the do_sweep function.
Signed-off-by: Vladimir Koushnir <[email protected]> Signed-off-by: Alex Netes <[email protected]> Signed-off-by: Hal Rosenstock <[email protected]> --- opensm/osm_state_mgr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/opensm/osm_state_mgr.c b/opensm/osm_state_mgr.c index 183be36..191d87f 100644 --- a/opensm/osm_state_mgr.c +++ b/opensm/osm_state_mgr.c @@ -1272,6 +1272,8 @@ repeat_discovery: OSM_LOG_MSG_BOX(sm->p_log, OSM_LOG_VERBOSE, "HEAVY SWEEP COMPLETE"); + osm_drop_mgr_process(sm); + /* If we are MASTER - get the highest remote_sm, and * see if it is higher than our local sm. */ @@ -1304,9 +1306,6 @@ repeat_discovery: } } - /* Need to continue with lid assignment */ - osm_drop_mgr_process(sm); - /* * If we are not MASTER already - this means that we are * in discovery state. call osm_sm_state_mgr with signal -- 1.7.11.2 -- 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
