multipath-tools/0011-change-log-level-to-info-if-alua-is-not-support-by-s.patch

27 lines
838 B
Diff
Raw Normal View History

2021-11-23 21:49:34 +08:00
From 2124943524470f9122a99e6b72c1946c0db3f7f0 Mon Sep 17 00:00:00 2001
2020-01-10 17:13:17 +08:00
From: root <root@localhost.localdomain>
Date: Fri, 22 Mar 2019 19:37:43 +0800
2021-11-23 21:49:34 +08:00
Subject: [PATCH 11/15] change log level to info if alua is not support by
storage server
2020-01-10 17:13:17 +08:00
---
libmultipath/prioritizers/alua.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libmultipath/prioritizers/alua.c b/libmultipath/prioritizers/alua.c
2021-11-23 21:49:34 +08:00
index a6307d6..8460848 100644
2020-01-10 17:13:17 +08:00
--- a/libmultipath/prioritizers/alua.c
+++ b/libmultipath/prioritizers/alua.c
2020-11-04 21:19:44 +08:00
@@ -130,7 +130,7 @@ int getprio (struct path * pp, char * args, unsigned int timeout)
2020-01-10 17:13:17 +08:00
} else {
switch(-rc) {
case ALUA_PRIO_NOT_SUPPORTED:
- condlog(0, "%s: alua not supported", pp->dev);
+ condlog(3, "%s: alua not supported", pp->dev);
2021-11-23 21:49:34 +08:00
rc = 0;
2020-01-10 17:13:17 +08:00
break;
case ALUA_PRIO_RTPG_FAILED:
--
2020-11-04 21:19:44 +08:00
1.8.3.1
2020-01-10 17:13:17 +08:00