summaryrefslogtreecommitdiffstats
path: root/glusterfsd
diff options
context:
space:
mode:
authorAmar Tumballi <amarts@redhat.com>2012-10-17 22:20:47 +0530
committerVijay Bellur <vbellur@redhat.com>2012-11-19 00:35:07 -0800
commit474d3e08313acb74633a22e970326fb98b9122d3 (patch)
tree21c6d7ae3f393344bfe81454d981b267705292a1 /glusterfsd
parentcfe51eb7ff5d5d61c1cf9ad1588c7a3e8250736b (diff)
glusterfsd-mgmt: make brick-ops work in synctask
this way, the main epoll thread is freed up to serve other requests. Change-Id: Iecf68aceb8bd84433d0f9fcd98d96c734a4cc134 BUG: 842955 Signed-off-by: Amar Tumballi <amarts@redhat.com> Reviewed-on: http://review.gluster.org/4096 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'glusterfsd')
-rw-r--r--glusterfsd/src/glusterfsd-mgmt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/glusterfsd/src/glusterfsd-mgmt.c b/glusterfsd/src/glusterfsd-mgmt.c
index 661fe5414b3..d1742d61fb4 100644
--- a/glusterfsd/src/glusterfsd-mgmt.c
+++ b/glusterfsd/src/glusterfsd-mgmt.c
@@ -1293,6 +1293,7 @@ struct rpcsvc_program glusterfs_mop_prog = {
.progver = GD_BRICK_VERSION,
.actors = glusterfs_actors,
.numactors = GLUSTERD_BRICK_MAXVALUE,
+ .synctask = _gf_true,
};
int