multipath-tools: Manual failback fix when priority changes
authorMoger, Babu <Babu.Moger@netapp.com>
Fri, 27 May 2011 14:30:19 +0000 (10:30 -0400)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Tue, 7 Jun 2011 05:52:05 +0000 (07:52 +0200)
commit015de0f9fe36b097cc1401ae664da29a6a7218eb
tree3c51b2f28cadf33acd197caa0baaf3bd170733c7
parente14dd49d9cdd0b57e585ab7dc19b4e2fdb7fca2e
multipath-tools: Manual failback fix when priority changes

Current code switches the path-group when there is a change in priority. However,
this is not the right thing to do when failback is set to manual. This patch fixes
this problem. Call update_path_groups only if failback is immediate.

Signed-off-by: Babu Moger <babu.moger@netapp.com>
multipathd/main.c