***SPAM*** [ofa-general] [PATCH 2/5] opensm/main.c rescan subnet configuration after SIGHUP
Eli Dorfman (Voltaire)
dorfman.eli at gmail.com
Tue Jan 20 06:03:08 PST 2009
rescan subnet configuration after SIGHUP
call osm_subn_rescan_conf_files() after SIGHUP.
this is important when priority is changed and SM is in standby.
in that case it will not send capability mask trap and will not become master.
Signed-off-by: Eli Dorfman <elid at voltaire.com>
---
opensm/opensm/main.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/opensm/opensm/main.c b/opensm/opensm/main.c
index f786192..0f7b822 100644
--- a/opensm/opensm/main.c
+++ b/opensm/opensm/main.c
@@ -507,6 +507,7 @@ int osm_manager_loop(osm_subn_opt_t * p_opt, osm_opensm_t * p_osm)
osm_hup_flag = 0;
/* a HUP signal should only start a new heavy sweep */
p_osm->subn.force_heavy_sweep = TRUE;
+ osm_subn_rescan_conf_files(&p_osm->subn);
osm_opensm_sweep(p_osm);
}
}
--
1.5.5
More information about the general
mailing list