summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/protocol/client/src/client.c')
-rw-r--r--xlators/protocol/client/src/client.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/xlators/protocol/client/src/client.c b/xlators/protocol/client/src/client.c
index 198ba082add..e83badca98a 100644
--- a/xlators/protocol/client/src/client.c
+++ b/xlators/protocol/client/src/client.c
@@ -1583,10 +1583,13 @@ client_rpc_notify (struct rpc_clnt *rpc, void *mydata, rpc_clnt_event_t event,
client_mark_fd_bad (this);
- gf_log (this->name, GF_LOG_TRACE, "got RPC_CLNT_DISCONNECT");
-
- if (!conf->skip_notify)
+ if (!conf->skip_notify) {
+ gf_log (this->name, GF_LOG_NORMAL, "disconnected");
default_notify (this, GF_EVENT_CHILD_DOWN, NULL);
+ } else {
+ gf_log (this->name, GF_LOG_TRACE, "disconnected (skipped notify)");
+ }
+
conf->skip_notify = 0;
break;