Hi Ofer, On Mon, 2006-05-01 at 04:28, Ofer Gigi wrote: > Hi Hal, > Please apply to trunk and branch.
The patch below was line wrapped. I fixed it by hand. Please fix your procedure in the future. Applied to both trunk and 1.0 branch. -- Hal > Thanks! > Ofer > > -----Original Message----- > From: Ofer Gigi > Sent: Monday, May 01, 2006 11:23 AM > To: '[email protected]' > Cc: '[EMAIL PROTECTED]' > Subject: [PATCH] osm_lid_mgr.c : exit only if exit_on_fatal in case of > corrupted guid2lid file > > Hi Hal, > > The default of opensm is to exit_on_fatal. > However, opensm can overcome sometimes fatal errors. > One of this errors is a corrupted guid2lid file. > Therefore, if you want opensm to overcome this problem you can use > -y option (don't exit > on fatal) and opensm won't exit in case of a corrupted guid2lid file - > it will just put an error in the log. > > Thanks > > Ofer G. > > Signed-off-by: Ofer Gigi <[EMAIL PROTECTED]> > > Index: osm_lid_mgr.c > =================================================================== > --- osm_lid_mgr.c (revision 6640) > +++ osm_lid_mgr.c (working copy) > @@ -304,11 +304,19 @@ osm_lid_mgr_init( > { > if (osm_db_restore(p_mgr->p_g2l)) > { > + if (p_subn->opt.exit_on_fatal) > + { > + osm_log( p_mgr->p_log, OSM_LOG_SYS, > + "Fatal: Error restoring Guid-to-Lid persistent > database\n" ); > + status = IB_ERROR; > + goto Exit; > + } > + else > + { > osm_log( p_mgr->p_log, OSM_LOG_ERROR, > "osm_lid_mgr_init: ERR 0317: " > "Error restoring Guid-to-Lid persistent database\n"); > - status = IB_ERROR; > - goto Exit; > + } > } > > /* we need to make sure we did not get duplicates with > _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
