summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2018-09-18 12:07:29 +0530
committerAtin Mukherjee <amukherj@redhat.com>2018-09-20 03:01:35 +0000
commit0a92d5be1c783d6ff0acaab016d8a1d9477b7cbf (patch)
tree88a482d6b610237ceca94ddd345c754ded993528 /xlators/mgmt
parented071577e426744c08600f50e52cbf766c27868c (diff)
glusterd: Improve logging in gd_mgmt_v3_unlock_timer_cbk
Change-Id: I3335e7df3256d97c2211b64cfcaac9a016723471 Updates: bz#1193929 Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'xlators/mgmt')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-locks.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-locks.c b/xlators/mgmt/glusterd/src/glusterd-locks.c
index 4a7a5ba4479..4f2bbf766a7 100644
--- a/xlators/mgmt/glusterd/src/glusterd-locks.c
+++ b/xlators/mgmt/glusterd/src/glusterd-locks.c
@@ -686,7 +686,6 @@ gd_mgmt_v3_unlock_timer_cbk(void *data)
conf = this->private;
GF_VALIDATE_OR_GOTO(this->name, conf, out);
- gf_log(THIS->name, GF_LOG_INFO, "In gd_mgmt_v3_unlock_timer_cbk");
GF_ASSERT(NULL != data);
key = (char *)data;
@@ -726,6 +725,10 @@ out:
gf_timer_call_cancel(mgmt_lock_timer_ctx, mgmt_lock_timer->timer);
dict_del(conf->mgmt_v3_lock_timer, bt_key);
mgmt_lock_timer->timer = NULL;
+ gf_log(this->name, GF_LOG_INFO,
+ "unlock timer is cancelled for volume"
+ " %s",
+ name);
}
ret_function: