summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/ec
diff options
context:
space:
mode:
authorAshish Pandey <aspandey@redhat.com>2015-05-14 17:06:25 +0530
committerXavier Hernandez <xhernandez@datalab.es>2015-06-19 01:57:05 -0700
commit92bf6fcdfbaad7f20efa86eec34cd9e14233c6de (patch)
tree6b06f1bf65980a21a914c491bd221867e091e7e0 /xlators/cluster/ec
parent568d7f4dda804861a47724455f79823015de9610 (diff)
Changing log level to DEBUG in case of ENOENT
Change-Id: I264e47ca679d8b57cd8c80306c07514e826f92d8 BUG: 1229563 Signed-off-by: Ashish Pandey <aspandey@redhat.com> Reviewed-on: http://review.gluster.org/10784 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Xavier Hernandez <xhernandez@datalab.es> Signed-off-by: Ashish Pandey <aspandey@redhat.com> Reviewed-on: http://review.gluster.org/11132 Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/cluster/ec')
-rw-r--r--xlators/cluster/ec/src/ec-common.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xlators/cluster/ec/src/ec-common.c b/xlators/cluster/ec/src/ec-common.c
index a8597ee805e..f69234e1bc1 100644
--- a/xlators/cluster/ec/src/ec-common.c
+++ b/xlators/cluster/ec/src/ec-common.c
@@ -1431,8 +1431,9 @@ int32_t ec_update_size_version_done(call_frame_t * frame, void * cookie,
ec_inode_t *ctx;
if (op_ret < 0) {
- gf_log(fop->xl->name, GF_LOG_ERROR, "Failed to update version and "
- "size (error %d)", op_errno);
+ gf_log(fop->xl->name, fop_log_level (fop->id, op_errno),
+ "Failed to update version and"
+ " size (error %d)", op_errno);
} else {
fop->parent->mask &= fop->good;
link = fop->data;