If SM is stucked in continuous rediscovery loop, it will never reach rereading the configuration files.
Signed-off-by: Alex Netes <[email protected]> --- opensm/osm_state_mgr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/opensm/osm_state_mgr.c b/opensm/osm_state_mgr.c index 4d762a3..e8c76c0 100644 --- a/opensm/osm_state_mgr.c +++ b/opensm/osm_state_mgr.c @@ -1251,8 +1251,10 @@ repeat_discovery: } /* if new sweep requested - don't bother with the rest */ - if (sm->p_subn->force_heavy_sweep) + if (sm->p_subn->force_heavy_sweep) { + config_parsed = 0; goto repeat_discovery; + } osm_opensm_report_event(sm->p_subn->p_osm, OSM_EVENT_ID_HEAVY_SWEEP_DONE, NULL); -- 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
