Since PATH_GHOST is not an unexpected state, we don't need to keep printing out checker messages for these paths. Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx> --- libmultipath/discovery.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libmultipath/discovery.c b/libmultipath/discovery.c index 0b5fd1d..826ea75 100644 --- a/libmultipath/discovery.c +++ b/libmultipath/discovery.c @@ -898,7 +898,8 @@ get_state (struct path * pp, int daemon) c->timeout = DEF_TIMEOUT; state = checker_check(c); condlog(3, "%s: state = %s", pp->dev, checker_state_name(state)); - if (state != PATH_UP && strlen(checker_message(c))) + if (state != PATH_UP && state != PATH_GHOST && + strlen(checker_message(c))) condlog(3, "%s: checker msg is \"%s\"", pp->dev, checker_message(c)); return state; -- 1.8.2 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel