[ofa-general] [PATCH 4/4] opensm/osm_subnet.c support subnet configuration rescan and update
Sasha Khapyorsky
sashak at voltaire.com
Tue Feb 3 04:24:50 PST 2009
On 16:34 Mon 26 Jan , Eli Dorfman (Voltaire) wrote:
> support subnet configuration rescan and update
> subnet configuration parameters are rescanned every heavy sweep.
> every parameter is parsed by parse function according to its type.
> some params require special post update function to setup them.
> every parameter has also a flag that specifies whether it
> can be updated during runtime.
>
> Signed-off-by: Eli Dorfman <elid at voltaire.com>
I'm applying this with several changes:
- disable update option and setup function for all string parameter -
as I commented originally opts_parse_charp() will leak memory and this
cannot be ignored if config file is rescanned. Exception is QoS string
parameters where memory leak is handled.
- small fixes I mentioned in original review.
Sasha
More information about the general
mailing list