[libmultipath] don't re-select when not necessary in path discovery
authorroot <root@xa-s05.(none)>
Tue, 23 Aug 2005 14:16:00 +0000 (16:16 +0200)
committerroot <root@xa-s05.(none)>
Tue, 23 Aug 2005 14:16:00 +0000 (16:16 +0200)
commit0402af3d181fbaf9b786bb0fd2bd2a2fab4e6cc6
treedc0abdba17b0e5661bdb365c9fd715b1818fd915
parent952952ac39eadb50a4c3dfa01cb345d011aab79c
[libmultipath] don't re-select when not necessary in path discovery

.getprio, .getuid and .checkfn were needlessly re-selected each time the
corresponding value was updated through discovery.c:pathinfo().

Now that we are more selective, we need to :
- flush the cached values for multipath(8)
- re-select them in case of multipathd(8) "reconfigure" CLI command
libmultipath/cache.c
libmultipath/discovery.c
multipathd/main.c