path: root/libglusterfs
diff options
authorMohammed Junaid <>2012-03-09 12:44:05 +0530
committerVijay Bellur <>2012-03-10 05:27:56 -0800
commitef108d4fa77fd9aba48a7b9475c9b72352c16e6a (patch)
treedf1f43943d5341ff6d2e0797de7b13e2599a68dd /libglusterfs
parent56ec59a465c4a4a34bac3a785964c2517570898b (diff)
protocol/client: Register a timer(grace-timer) conditionally.
A grace timer is registered on a disconnect, but a reconnect timer sends a connect request after every 3sec and if the server is down, the client protocol receives disconnect and a grace timer will be registered which on timeout will increase the lk-version value. Its enough to register the grace timer once after the disconnect and later just ignore other psuedo disconnects. Change-Id: I36a153aa86b350d87fe50d014ee0297f558a7fb6 BUG: 795386 Signed-off-by: Mohammed Junaid <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Amar Tumballi <> Reviewed-by: Vijay Bellur <>
Diffstat (limited to 'libglusterfs')
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/fd-lk.c b/libglusterfs/src/fd-lk.c
index 4e10d64..32f3e0a 100644
--- a/libglusterfs/src/fd-lk.c
+++ b/libglusterfs/src/fd-lk.c
@@ -425,7 +425,7 @@ print_lock_list (fd_lk_ctx_t *lk_ctx)
fd_lk_ctx_node_t *lk = NULL;
- gf_log ("fd-lk", GF_LOG_WARNING, "lock list:");
+ gf_log ("fd-lk", GF_LOG_DEBUG, "lock list:");
list_for_each_entry (lk, &lk_ctx->lk_list, next)
gf_log ("fd-lk", GF_LOG_DEBUG, "owner = %s, "