Hi Hal
This trivial patch provides a "SUBNET UP" message (with level INFO)
every time the SM completes a full heavy sweep. It is most useful for
cases where you want to make sure teh SM responded to some change in
the fabric. Also used to sync the various test flows to the end of sweeps.
Eitan
Signed-off-by: Eitan Zahavi <[EMAIL PROTECTED]>
Index: opensm/osm_state_mgr.c
===================================================================
--- opensm/osm_state_mgr.c (revision 7904)
+++ opensm/osm_state_mgr.c (working copy)
@@ -199,6 +199,8 @@ __osm_state_mgr_up_msg(
osm_log( p_mgr->p_log, OSM_LOG_SYS, "SUBNET UP\n" ); /* Format Waived */
/* clear the signal */
p_mgr->p_subn->moved_to_master_state = FALSE;
+ } else {
+ osm_log( p_mgr->p_log, OSM_LOG_INFO, "SUBNET UP\n" ); /* Format Waived */
}
if( p_mgr->p_subn->opt.sweep_interval )
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general