[PATCH 19/33] libmultipath: setup_features: log msg if queue_if_no_path is ignored

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Martin Wilck <mwilck@xxxxxxx>

Signed-off-by: Martin Wilck <mwilck@xxxxxxxx>
---
 libmultipath/propsel.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libmultipath/propsel.c b/libmultipath/propsel.c
index bba8194c..0c499339 100644
--- a/libmultipath/propsel.c
+++ b/libmultipath/propsel.c
@@ -288,7 +288,9 @@ out:
 			condlog(1, "%s: config error, overriding 'no_path_retry' value",
 				mp->alias);
 			mp->no_path_retry = NO_PATH_RETRY_QUEUE;
-		}
+		} else if (mp->no_path_retry != NO_PATH_RETRY_QUEUE)
+			condlog(1, "%s: config error, ignoring 'queue_if_no_path' because no_path_retry=%d",
+				mp->alias, mp->no_path_retry);
 	}
 	return 0;
 }
-- 
2.11.0

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux