diff options
author | Krishnan Parthasarathi <kparthas@redhat.com> | 2015-07-11 09:21:27 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2015-08-10 00:05:30 -0700 |
commit | 426d28fbd85486d35dc52b0789d94f4e76d03e66 (patch) | |
tree | aa3c8695460ec4f49c8281433da0846cc42973f6 /xlators/mgmt/glusterd/src/glusterd.h | |
parent | 0e0c3ec84c73bc5fcda16ed743f9d3dc0a582c03 (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: 1250809
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>
(cherry picked from commit 6b7bdcb02cf39199d3720c2471121d14df64c8ab)
Reviewed-on: http://review.gluster.org/11847
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.h b/xlators/mgmt/glusterd/src/glusterd.h index c72c5690a79..b6876f80071 100644 --- a/xlators/mgmt/glusterd/src/glusterd.h +++ b/xlators/mgmt/glusterd/src/glusterd.h @@ -175,6 +175,7 @@ typedef struct { struct cds_list_head missed_snaps_list; int ping_timeout; uint32_t generation; + int32_t workers; } glusterd_conf_t; |