Blame SOURCES/0016-RH-dont-print-ghost-messages.patch
|
|
f20720 |
---
|
|
|
f20720 |
libmultipath/discovery.c | 3 ++-
|
|
|
f20720 |
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
f20720 |
|
|
|
f20720 |
Index: multipath-tools-130222/libmultipath/discovery.c
|
|
|
f20720 |
===================================================================
|
|
|
f20720 |
--- multipath-tools-130222.orig/libmultipath/discovery.c
|
|
|
f20720 |
+++ multipath-tools-130222/libmultipath/discovery.c
|
|
|
f20720 |
@@ -898,7 +898,8 @@ get_state (struct path * pp, int daemon)
|
|
|
f20720 |
c->timeout = DEF_TIMEOUT;
|
|
|
f20720 |
state = checker_check(c);
|
|
|
f20720 |
condlog(3, "%s: state = %s", pp->dev, checker_state_name(state));
|
|
|
f20720 |
- if (state != PATH_UP && strlen(checker_message(c)))
|
|
|
f20720 |
+ if (state != PATH_UP && state != PATH_GHOST &&
|
|
|
f20720 |
+ strlen(checker_message(c)))
|
|
|
f20720 |
condlog(3, "%s: checker msg is \"%s\"",
|
|
|
f20720 |
pp->dev, checker_message(c));
|
|
|
f20720 |
return state;
|