summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-transport/socket/src/socket.h
diff options
context:
space:
mode:
authorVijay Bellur <vijay@gluster.com>2011-05-29 08:10:48 +0000
committerAnand Avati <avati@gluster.com>2011-05-30 01:49:24 -0700
commitb4fc412a46d8a71cf02d847b0e359b6668e218f2 (patch)
treefde5b0fe2ee2d7b369ca3c723b5cf6fba48d0f3a /rpc/rpc-transport/socket/src/socket.h
parent4c1c8feee4afd6cabeabc17c85bbc7634adb683f (diff)
rpc: Introduce option for listen()'s backlog
Signed-off-by: Vijay Bellur <vijay@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2941 (glusterd breaks when starting ~100 volumes) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2941
Diffstat (limited to 'rpc/rpc-transport/socket/src/socket.h')
-rw-r--r--rpc/rpc-transport/socket/src/socket.h1
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 0bdc95db5c9..4acecab2a61 100644
--- a/rpc/rpc-transport/socket/src/socket.h
+++ b/rpc/rpc-transport/socket/src/socket.h
@@ -192,6 +192,7 @@ typedef struct {
int keepalive;
int keepaliveidle;
int keepaliveintvl;
+ uint32_t backlog;
} socket_private_t;