From 426d28fbd85486d35dc52b0789d94f4e76d03e66 Mon Sep 17 00:00:00 2001 From: Krishnan Parthasarathi Date: Sat, 11 Jul 2015 09:21:27 +0530 Subject: 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 BUG: 1250809 Change-Id: I2a9e2d81c64beaf54872081f9ce45355cf4dfca7 Signed-off-by: Krishnan Parthasarathi Reviewed-on: http://review.gluster.org/11630 Tested-by: NetBSD Build System Reviewed-by: Atin Mukherjee Tested-by: Gluster Build System (cherry picked from commit 6b7bdcb02cf39199d3720c2471121d14df64c8ab) Reviewed-on: http://review.gluster.org/11847 --- xlators/mgmt/glusterd/src/glusterd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/mgmt/glusterd/src/glusterd.h') 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; -- cgit