diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2011-04-13 07:36:13 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-04-13 06:28:56 -0700 |
commit | 41df71222e0d3975b8160d82a630d70ac15786be (patch) | |
tree | cbb65a6a0e5bd9fd95a336ff149a15d8c92edbca /xlators/mgmt/glusterd/src/glusterd-volgen.c | |
parent | 6608d60aa6ba733fbdc612e27499524b28adadbf (diff) |
mgmt/glusterd: server graph should have io-threads below pump
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
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
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volgen.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |