summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server/src/server.h
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2013-04-12 11:06:44 +0530
committerVijay Bellur <vbellur@redhat.com>2013-05-31 05:27:36 -0700
commit39ae62c39662a37fef9d0809438482ce441a98e0 (patch)
tree7dc8ec22f1be9cf07aa6281daeefda1252e12d0f /xlators/protocol/server/src/server.h
parentc9bf5e6d2897de488967f5d736a5b9898b3deb94 (diff)
protocol/server: Change logs to give more info on disconnects
Change-Id: I8304a12df417be164c564e0696f72c3334f21569 BUG: 952138 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/4824 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/protocol/server/src/server.h')
-rw-r--r--xlators/protocol/server/src/server.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server.h b/xlators/protocol/server/src/server.h
index e7eccfd115e..1da574934b8 100644
--- a/xlators/protocol/server/src/server.h
+++ b/xlators/protocol/server/src/server.h
@@ -53,7 +53,7 @@ struct _lock_table {
struct _server_connection {
struct list_head list;
char *id;
- int ref;
+ uint64_t ref;
int bind_ref;
pthread_mutex_t lock;
fdtable_t *fdtable;
@@ -62,6 +62,7 @@ struct _server_connection {
xlator_t *bound_xl;
xlator_t *this;
uint32_t lk_version;
+ uint64_t rsp_failure_fops[GF_FOP_MAXVALUE];
};
typedef struct _server_connection server_connection_t;