summaryrefslogtreecommitdiff
path: root/libmultipath/prio.h
AgeCommit message (Collapse)AuthorFilesLines
2009-03-24Unload prio and checkers libraries during shutdown.Konrad Rzeszutek1-0/+1
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.
2008-05-21apply the same treatment to prioritizer than Ben applied to checkersChristophe Varoqui1-1/+0
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.
2008-04-12[checkers] checkers are now dlopen'ed pluginsChristophe Varoqui1-1/+1
just like prioritizers. A lot of files shuffling too.
2008-04-08[lib] merge libprio in libmultipathChristophe Varoqui1-0/+51
There is actually just the prio plugins api files linked into libmultipath.so Prioritizers proper go under libmultipath/prioritizers