Skip to contentSkip to conversation

opensm SA DB dump/restore: SA DB persistence

PATCH Superseded Yevgeny Kliteynik 1 participant 1 message Nov 4, 2009 InfiniBand

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover opensm SA DB dump/restore: SA DB persistence

Hi Sasha,

[v2 - no changes, just rebased and resolved conflicts]

OSM can dump SA DB, but it is done every heavy sweep, and only when running with high verbosity, which cannot be used in production.
OSM can also load SA DB from file, but then it also stays in this static SA configuration.

The following patch series improves SA DB persistence:

1/3: Added option to load SA DB only on the first master
heavy sweep. After that SA goes to the usual (dynamic) mode of operation
2/3: Added option to dump SA DB on every sweep (both light
and heavy), regardless of the verbosity level.
3/3: Optimize SA DB dumping: added 'dirty' flag to the SA
struct to denote that SA DB was modified since the last dump. SA DB will be dumped only if the DB is dirty.

-- Yevgeny

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html