Re: [PATCH] opensm SA DB: dump only if modified

2010-01-12 Thread Sasha Khapyorsky
On 10:47 Mon 11 Jan , Yevgeny Kliteynik wrote: > Currently, if dumping SA DB is enabled, the file is dumped > at every sweep. This patch adds "dirty" flag that denotes > whether the SA DB needs to be dumped or not. > > SA DB contains 3 types of data: > - informinfo records > - service record

[PATCH] opensm SA DB: dump only if modified

2010-01-11 Thread Yevgeny Kliteynik
Currently, if dumping SA DB is enabled, the file is dumped at every sweep. This patch adds "dirty" flag that denotes whether the SA DB needs to be dumped or not. SA DB contains 3 types of data: - informinfo records - service records - mcmember records So the flag must be set in 6 places: - ad