summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
authorRavishankar N <ravishankar@redhat.com>2016-10-04 10:10:56 +0530
committerVijay Bellur <vbellur@redhat.com>2016-10-04 11:32:05 -0700
commita1bbbf35cb91e5132b8c46dff0681d24371295a4 (patch)
tree90f90cb992fa0b910d3151ffd49604ba11085f66 /libglusterfs/src
parent9ab5b52dee5be45458fdb5446d3cbf6a1a5306a6 (diff)
downloadglusterfs-a1bbbf35cb91e5132b8c46dff0681d24371295a4.tar.gz
glusterfs-a1bbbf35cb91e5132b8c46dff0681d24371295a4.tar.xz
glusterfs-a1bbbf35cb91e5132b8c46dff0681d24371295a4.zip
afr: fix incorrect debug log in selfheal path
1. While looking at glustershd logs in DEBUG log-level, it was found that all bricks of the replica were printed as local bricks even though they were not. Fixed it. 2. Print the name of the subvol from which the entry was got during index crawl. Change-Id: I08b32e38694c755715e9fe0c0e1dd9212abcfb16 BUG: 1381421 Signed-off-by: Ravishankar N <ravishankar@redhat.com> Reviewed-on: http://review.gluster.org/15610 Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/syncop-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/syncop-utils.c b/libglusterfs/src/syncop-utils.c
index 8f25db237f..029f10b058 100644
--- a/libglusterfs/src/syncop-utils.c
+++ b/libglusterfs/src/syncop-utils.c
@@ -542,7 +542,7 @@ syncop_is_subvol_local (xlator_t *this, loc_t *loc, gf_boolean_t *is_local)
ret = glusterfs_is_local_pathinfo (pathinfo, is_local);
gf_msg_debug (this->name, 0, "subvol %s is %slocal",
- this->name, is_local ? "" : "not ");
+ this->name, *is_local ? "" : "not ");
out:
if (xattr)