diff options
author | Krishnan Parthasarathi <kparthas@redhat.com> | 2014-06-30 11:26:54 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2016-02-23 08:34:59 -0800 |
commit | 89125a3618660522787b570f030b40d798e0c99b (patch) | |
tree | 3f6d9791994f3abb58bf2807a6533a9732f3c999 /rpc/rpc-transport/socket/src/socket.h | |
parent | 28c2798d5e1f36e3f57192b693758fa8a9f26743 (diff) |
socket: reduce rate of readv failure logs due to disconnect
Backport of http://review.gluster.org/8210
... by using GF_LOG_OCCASIONALLY
Change-Id: I779ff32ead13c8bb446a57b5baccf068ae992df1
BUG: 1310969
Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com>
Reviewed-on: http://review.gluster.org/8210
Tested-by: Atin Mukherjee <amukherj@redhat.com>
Smoke: Gluster Build System <jenkins@build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Reviewed-on: http://review.gluster.org/13487
Diffstat (limited to 'rpc/rpc-transport/socket/src/socket.h')
-rw-r--r-- | rpc/rpc-transport/socket/src/socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rpc/rpc-transport/socket/src/socket.h b/rpc/rpc-transport/socket/src/socket.h index c4d27e21947..8732ca919c6 100644 --- a/rpc/rpc-transport/socket/src/socket.h +++ b/rpc/rpc-transport/socket/src/socket.h @@ -245,6 +245,7 @@ typedef struct { ot_state_t ot_state; uint32_t ot_gen; gf_boolean_t is_server; + int log_ctr; } socket_private_t; |