Age | Commit message (Collapse) | Author | Files | Lines |
|
Our statup sequence is 'load_config', 'init_checkers', and 'init_prio'.
Both init_* functions reset the list of prio and checkers, which is
unfortunate as in load_config, depending on the multipat.conf, would
load prio and checker libraries. This results in double-loading of
the libraries and a memory leak.
|
|
ie:
o don't so prio shared object if not used
o error if prioritizer lib is not found instead of falling back to default
I also had to move up the multipath_dir initialization in load_config()
because add_prio/add_checker need the var to load the shared object.
Also realize the multpath_dir keyword has to be set before default:prio
and default:checker in the config file.
A correct solution would be to defer the loads to the end of the config
file processing. Contribution welcome.
|
|
just like prioritizers.
A lot of files shuffling too.
|
|
There is actually just the prio plugins api files linked into libmultipath.so
Prioritizers proper go under libmultipath/prioritizers
|