multipath: clean up path orphaning and adoption
authorBenjamin Marzinski <bmarzins@redhat.com>
Sun, 14 Nov 2010 21:02:14 +0000 (15:02 -0600)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Tue, 7 Dec 2010 21:51:16 +0000 (22:51 +0100)
commitf3748027e5154d2d05257c8bf5fb99303b8be530
tree49e6c84d22aec52ffd01f0192b22b1d8968e4b4d
parentcd21bd290a57eed350d564bac403da9d6941a144
multipath: clean up path orphaning and adoption

Make sure that multipathd orphans paths when they don't get included in maps,
to reset them to a consistent state, and make sure that multipath adopts paths
that get picked up during a table reload. However, multipathd shouldn't change
the state or priority of paths when it's updating due to a table reload,
since this can interfere with the checkerloop.

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
libmultipath/configure.c
libmultipath/structs_vec.c
libmultipath/structs_vec.h
multipathd/main.c