multipath: patch checker consolidation
authorBenjamin Marzinski <bmarzins@redhat.com>
Thu, 25 Mar 2010 05:44:17 +0000 (00:44 -0500)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Thu, 25 Mar 2010 19:18:23 +0000 (20:18 +0100)
commite276a4eb7aff698a9a070b582d3b56d41c35c89e
tree68f36b9216d0ecc726ec245371c2bccee0f5320f
parent6ec48625e68f66e993178348a4a1e7916ac1222d
multipath: patch checker consolidation

This patch does two things. First, it allows the tur checker to retry when it
fails with DID_TRANSPORT_DISRUPTED. Second, it makes both calls to check a path
use get_state, do avoid duplicated code.

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