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

27 lines
853 B
Diff
Raw Normal View History

2020-11-04 21:19:44 +08:00
From a0cb1bf53c2a2b4089b98d3c811845517c95c6f5 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
2020-11-04 21:19:44 +08:00
Subject: [PATCH] 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
2020-11-04 21:19:44 +08:00
index e65b6f5..97eb152 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);
rc = 0;
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