apply the same treatment to prioritizer than Ben applied to checkers
authorChristophe Varoqui <christophe.varoqui@free.fr>
Sun, 18 May 2008 15:48:37 +0000 (17:48 +0200)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Wed, 21 May 2008 20:01:18 +0000 (22:01 +0200)
commita8485eff319bdfdc6fd81160102d1aabee060e49
treec66540f8a0735df63e03760dc8561edfc5fb09bd
parenta4d0b34e841aae7e0722ba532ca46ff78b0f106e
apply the same treatment to prioritizer than Ben applied to checkers

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.
libmultipath/config.c
libmultipath/config.h
libmultipath/dict.c
libmultipath/hwtable.c
libmultipath/prio.c
libmultipath/prio.h
libmultipath/propsel.c