cb8e9e
From 7e281cb0253b5a58e405fecbbbb88dc7e9719991 Mon Sep 17 00:00:00 2001
cb8e9e
From: Ashish Pandey <aspandey@redhat.com>
cb8e9e
Date: Thu, 14 May 2015 17:06:25 +0530
cb8e9e
Subject: [PATCH 34/57] ec : Changing log level to DEBUG in case of ENOENT
cb8e9e
cb8e9e
      Backport of http://review.gluster.org/10784
cb8e9e
cb8e9e
Change-Id: I264e47ca679d8b57cd8c80306c07514e826f92d8
cb8e9e
BUG: 1224123
cb8e9e
cb8e9e
Signed-off-by: Ashish Pandey <aspandey@redhat.com>
cb8e9e
Change-Id: Ice06e50185a092b35ca4150b86ada5381bdae0d5
cb8e9e
Reviewed-on: https://code.engineering.redhat.com/gerrit/50431
cb8e9e
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
cb8e9e
Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
cb8e9e
---
cb8e9e
 xlators/cluster/ec/src/ec-common.c |    5 +++--
cb8e9e
 1 files changed, 3 insertions(+), 2 deletions(-)
cb8e9e
cb8e9e
diff --git a/xlators/cluster/ec/src/ec-common.c b/xlators/cluster/ec/src/ec-common.c
cb8e9e
index 46c9eec..f33384b 100644
cb8e9e
--- a/xlators/cluster/ec/src/ec-common.c
cb8e9e
+++ b/xlators/cluster/ec/src/ec-common.c
cb8e9e
@@ -1440,8 +1440,9 @@ int32_t ec_update_size_version_done(call_frame_t * frame, void * cookie,
cb8e9e
     ec_inode_t *ctx;
cb8e9e
 
cb8e9e
     if (op_ret < 0) {
cb8e9e
-        gf_log(fop->xl->name, GF_LOG_ERROR, "Failed to update version and "
cb8e9e
-                                            "size (error %d)", op_errno);
cb8e9e
+        gf_log(fop->xl->name, fop_log_level (fop->id, op_errno),
cb8e9e
+                              "Failed to update version and"
cb8e9e
+                              " size (error %d)", op_errno);
cb8e9e
     } else {
cb8e9e
         fop->parent->mask &= fop->good;
cb8e9e
         link = fop->data;
cb8e9e
-- 
cb8e9e
1.7.1
cb8e9e