From 41df71222e0d3975b8160d82a630d70ac15786be Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Wed, 13 Apr 2011 07:36:13 +0000 Subject: mgmt/glusterd: server graph should have io-threads below pump Signed-off-by: Pranith Kumar K Signed-off-by: Anand Avati BUG: 2726 ([glusterfs-3.2.0qa11]: glusterfs server crashed due to stack overflow) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2726 --- xlators/mgmt/glusterd/src/glusterd-volgen.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xlators/mgmt/glusterd') diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c index 816e9e68b69..08f4ca29570 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volgen.c +++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c @@ -1260,6 +1260,10 @@ server_graph_builder (glusterfs_graph_t *graph, glusterd_volinfo_t *volinfo, if (!xl) return -1; + xl = volgen_graph_add (graph, "performance/io-threads", volname); + if (!xl) + return -1; + ret = dict_get_int32 (volinfo->dict, "enable-pump", &pump); if (ret == -ENOENT) ret = pump = 0; @@ -1287,10 +1291,6 @@ server_graph_builder (glusterfs_graph_t *graph, glusterd_volinfo_t *volinfo, return -1; } - xl = volgen_graph_add (graph, "performance/io-threads", volname); - if (!xl) - return -1; - xl = volgen_graph_add (graph, "features/marker", volname); if (!xl) return -1; -- cgit