summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd.h
diff options
context:
space:
mode:
authorKrishnan Parthasarathi <kparthas@redhat.com>2015-07-11 09:21:27 +0530
committerAtin Mukherjee <amukherj@redhat.com>2015-07-16 01:45:55 -0700
commit6b7bdcb02cf39199d3720c2471121d14df64c8ab (patch)
treefe0bd1e75303632c4779d05bc69e25c5e3451add /xlators/mgmt/glusterd/src/glusterd.h
parentd94b39a8e6080e51f7281d545f11514829c1265c (diff)
glusterd: use 2 epoll worker threads by default
The no. of epoll worker threads can be configured by adding the following option into glusterd.vol. option event-threads <NUM-OF-EPOLL_WORKERS> BUG: 1242421 Change-Id: I2a9e2d81c64beaf54872081f9ce45355cf4dfca7 Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com> Reviewed-on: http://review.gluster.org/11630 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Atin Mukherjee <amukherj@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.h')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.h b/xlators/mgmt/glusterd/src/glusterd.h
index ec7c79c7c55..29dd299c324 100644
--- a/xlators/mgmt/glusterd/src/glusterd.h
+++ b/xlators/mgmt/glusterd/src/glusterd.h
@@ -170,6 +170,7 @@ typedef struct {
struct cds_list_head missed_snaps_list;
int ping_timeout;
uint32_t generation;
+ int32_t workers;
} glusterd_conf_t;