|
|
3604df |
From 22cceb89044a616cf730b2bcac459300c9ecdbde Mon Sep 17 00:00:00 2001
|
|
|
3604df |
From: Ashish Pandey <aspandey@redhat.com>
|
|
|
3604df |
Date: Fri, 27 Jan 2017 11:31:40 +0530
|
|
|
3604df |
Subject: [PATCH 280/285] cluster/ec: Change level of messages to DEBUG
|
|
|
3604df |
|
|
|
3604df |
Heal failed or passed should not be logged as warning.
|
|
|
3604df |
These can be observed from heal info if the heal is
|
|
|
3604df |
happening or not. If we require to debug a case where
|
|
|
3604df |
heal is not happening, we can set the level to DEBUG.
|
|
|
3604df |
|
|
|
3604df |
>Change-Id: I347665c8c8b6223bb08a9f3dd5643a10ddc3b93e
|
|
|
3604df |
>BUG: 1417050
|
|
|
3604df |
>Signed-off-by: Ashish Pandey <aspandey@redhat.com>
|
|
|
3604df |
>Reviewed-on: https://review.gluster.org/16473
|
|
|
3604df |
>Smoke: Gluster Build System <jenkins@build.gluster.org>
|
|
|
3604df |
>NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
|
|
|
3604df |
>Reviewed-by: Xavier Hernandez <xhernandez@datalab.es>
|
|
|
3604df |
>CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
|
|
|
3604df |
>Signed-off-by: Ashish Pandey <aspandey@redhat.com>
|
|
|
3604df |
|
|
|
3604df |
Change-Id: I347665c8c8b6223bb08a9f3dd5643a10ddc3b93e
|
|
|
3604df |
BUG: 1415583
|
|
|
3604df |
Signed-off-by: Ashish Pandey <aspandey@redhat.com>
|
|
|
3604df |
Reviewed-on: https://code.engineering.redhat.com/gerrit/96373
|
|
|
3604df |
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
|
|
|
3604df |
---
|
|
|
3604df |
xlators/cluster/ec/src/ec-common.c | 4 ++--
|
|
|
3604df |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
3604df |
|
|
|
3604df |
diff --git a/xlators/cluster/ec/src/ec-common.c b/xlators/cluster/ec/src/ec-common.c
|
|
|
3604df |
index 3fbbe49..febf508 100644
|
|
|
3604df |
--- a/xlators/cluster/ec/src/ec-common.c
|
|
|
3604df |
+++ b/xlators/cluster/ec/src/ec-common.c
|
|
|
3604df |
@@ -67,11 +67,11 @@ int32_t ec_heal_report(call_frame_t * frame, void * cookie, xlator_t * this,
|
|
|
3604df |
uintptr_t good, uintptr_t bad, dict_t * xdata)
|
|
|
3604df |
{
|
|
|
3604df |
if (op_ret < 0) {
|
|
|
3604df |
- gf_msg (this->name, GF_LOG_WARNING, op_errno,
|
|
|
3604df |
+ gf_msg (this->name, GF_LOG_DEBUG, op_errno,
|
|
|
3604df |
EC_MSG_HEAL_FAIL, "Heal failed");
|
|
|
3604df |
} else {
|
|
|
3604df |
if ((mask & ~good) != 0) {
|
|
|
3604df |
- gf_msg (this->name, GF_LOG_INFO, 0,
|
|
|
3604df |
+ gf_msg (this->name, GF_LOG_DEBUG, 0,
|
|
|
3604df |
EC_MSG_HEAL_SUCCESS, "Heal succeeded on %d/%d "
|
|
|
3604df |
"subvolumes",
|
|
|
3604df |
gf_bits_count(mask & ~(good | bad)),
|
|
|
3604df |
--
|
|
|
3604df |
2.9.3
|
|
|
3604df |
|