[dm-devel] [PATCH 20/33] libmultipath: setup_feature: print log msg if no_path_retry cant be set
Martin Wilck
mwilck at suse.com
Tue Feb 28 16:23:16 UTC 2017
From: Martin Wilck <mwilck at suse.de>
Signed-off-by: Martin Wilck <mwilck at suse.com>
---
libmultipath/structs.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libmultipath/structs.c b/libmultipath/structs.c
index 4419510d..c2565239 100644
--- a/libmultipath/structs.c
+++ b/libmultipath/structs.c
@@ -501,6 +501,9 @@ void setup_feature(struct multipath *mpp, char *feature)
if (!strncmp(feature, "queue_if_no_path", 16)) {
if (mpp->no_path_retry <= NO_PATH_RETRY_UNDEF)
mpp->no_path_retry = NO_PATH_RETRY_QUEUE;
+ else
+ condlog(1, "%s: ignoring feature queue_if_no_path because no_path_retry = %d",
+ mpp->alias, mpp->no_path_retry);
}
}
--
2.11.0
More information about the dm-devel
mailing list