Hi Eitan, On Tue, 2006-06-13 at 08:39, Eitan Zahavi wrote: > Hi Hal > > Sorry bout the previous patch - I got the } else { in it. > > 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.
I already had fixed this prior to committing it. I thought that was easier than "going 'round the block" on it. > 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) > @@ -200,6 +200,10 @@ __osm_state_mgr_up_msg( > /* 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 tab is supposed to be the convention, spaces are used in most OpenSM modules and I have been trying to keep to the convention used in the particular module. -- Hal > if( p_mgr->p_subn->opt.sweep_interval ) > { > _______________________________________________ openib-general mailing list openib-general@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general