summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
diff options
context:
space:
mode:
authorN Balachandran <nbalacha@redhat.com>2017-04-26 10:24:40 +0530
committerShyamsundar Ranganathan <srangana@redhat.com>2017-04-27 22:07:53 +0000
commit5888e2f7f3e3cea0cd02059c5548743185998e86 (patch)
tree69d7eeaa5922294a293e5f25b86fd23f26e98734 /xlators/cluster
parent0a59320775ec44c472f9027b0838ad162e0e4f6c (diff)
cluster/dht Remove redundant logs in dht rmdir
Removing redundant logs were introduced in https://review.gluster.org/#/c/17065/ > BUG: 1445590 > Signed-off-by: N Balachandran <nbalacha@redhat.com> > Reviewed-on: https://review.gluster.org/17118 > Smoke: Gluster Build System <jenkins@build.gluster.org> > NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> > Reviewed-by: Susant Palai <spalai@redhat.com> > CentOS-regression: Gluster Build System <jenkins@build.gluster.org> > Reviewed-by: Raghavendra G <rgowdapp@redhat.com> (cherry picked from commit 25f0a7b153b30b2c0e8278b0ce11d1199c3fb006) Change-Id: I0d6055488b51a13c91d2121e87f653cdb94888b0 BUG: 1446227 Signed-off-by: N Balachandran <nbalacha@redhat.com> Reviewed-on: https://review.gluster.org/17130 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Diffstat (limited to 'xlators/cluster')
-rw-r--r--xlators/cluster/dht/src/dht-common.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c
index c21880bfc90..ac4f9c468f7 100644
--- a/xlators/cluster/dht/src/dht-common.c
+++ b/xlators/cluster/dht/src/dht-common.c
@@ -8261,14 +8261,16 @@ dht_rmdir_lookup_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
prev = cookie;
src = prev;
-gf_log ("dht", GF_LOG_INFO, "dht_rmdir_lookup_cbk %s", local->loc.path);
+ gf_msg_debug (this->name, 0, "dht_rmdir_lookup_cbk %s",
+ local->loc.path);
+
readdirp_frame = local->main_frame;
readdirp_local = readdirp_frame->local;
if (op_ret != 0) {
gf_msg (this->name, GF_LOG_WARNING, op_errno,
- DHT_MSG_NOT_LINK_FILE_ERROR,
+ DHT_MSG_FILE_LOOKUP_FAILED,
"lookup failed for %s on %s (type=0%o)",
local->loc.path, src->name, stbuf->ia_type);
goto err;
@@ -8477,7 +8479,7 @@ dht_rmdir_is_subvol_empty (call_frame_t *frame, xlator_t *this,
gf_uuid_unparse(lookup_local->loc.gfid, gfid);
- gf_msg_debug (this->name, 0,
+ gf_msg_trace (this->name, 0,
"looking up %s on subvolume %s, gfid = %s",
lookup_local->loc.path, src->name, gfid);
@@ -8499,7 +8501,7 @@ dht_rmdir_is_subvol_empty (call_frame_t *frame, xlator_t *this,
lookup_local->loc.path, gfid);
gf_msg_debug (this->name, 0,
- "looking up %s on subvolume %s, gfid = %s",
+ "looking up %s on subvol %s, gfid = %s",
lookup_local->loc.path, src->name, gfid);
STACK_WIND_COOKIE (lookup_frame, dht_rmdir_lookup_cbk,
@@ -8508,7 +8510,7 @@ dht_rmdir_is_subvol_empty (call_frame_t *frame, xlator_t *this,
} else {
gf_msg_debug (this->name, 0,
"Looking up linkfile target %s on "
- " subvolume %s, gfid = %s",
+ " subvol %s, gfid = %s",
lookup_local->loc.path, subvol->name,
gfid);
@@ -8641,9 +8643,6 @@ dht_rmdir_readdirp_do (call_frame_t *readdirp_frame, xlator_t *this)
return 0;
}
- gf_msg_debug ("this->name", 0, "Calling dht_rmdir_readdirp_do for %p",
- readdirp_frame);
-
STACK_WIND_COOKIE (readdirp_frame, dht_rmdir_readdirp_cbk,
local->hashed_subvol,
local->hashed_subvol,