diff options
author | Anoop C S <anoopcs@redhat.com> | 2015-08-13 11:49:57 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2015-08-19 10:43:05 -0700 |
commit | d290dc62e474cfe4a305f503dff815c73d3f2578 (patch) | |
tree | 07f0b56f7a15f2359c21486c4d5dfd964d80c153 /xlators/protocol/client/src | |
parent | 963ce60e0d5edc418ae3cdc954fca350a5e3a131 (diff) |
protocol-client/server: Minor logging improvements for better debugging
Adding some log messages to protocol client and server to
ease the debugging process.
Change-Id: I84a05fcde7189d6e6ad5c37c1bbffb148d123517
BUG: 1227667
Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-on: http://review.gluster.org/11903
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'xlators/protocol/client/src')
-rw-r--r-- | xlators/protocol/client/src/client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/protocol/client/src/client.c b/xlators/protocol/client/src/client.c index b8f467622d5..0de738b6e67 100644 --- a/xlators/protocol/client/src/client.c +++ b/xlators/protocol/client/src/client.c @@ -2020,6 +2020,8 @@ client_rpc_notify (struct rpc_clnt *rpc, void *mydata, rpc_clnt_event_t event, break; } case RPC_CLNT_DISCONNECT: + gf_msg_debug (this->name, 0, "got RPC_CLNT_DISCONNECT"); + if (!conf->lk_heal) client_mark_fd_bad (this); else |