diff options
| author | Kaushik BV <kaushikbv@gluster.com> | 2010-11-04 05:11:50 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2010-11-07 20:15:18 -0800 | 
| commit | 8f16c5ed15e3c0cfbef396c63dbc45778ea84475 (patch) | |
| tree | 9867d4e14d52c9225abe49d43f53b334c26dcd7b | |
| parent | 9c4777534bdcce46f2391852933336bc73309f93 (diff) | |
Remove the hard-coded thread-count option in volgen
Signed-off-by: Kaushik BV <kaushikbv@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1159 ()
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1159
| -rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volgen.c | 3 | ||||
| -rw-r--r-- | xlators/performance/io-threads/src/io-threads.h | 2 | 
2 files changed, 1 insertions, 4 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c index 158a49654..738cde83f 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volgen.c +++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c @@ -1026,9 +1026,6 @@ server_graph_builder (glusterfs_graph_t *graph, glusterd_volinfo_t *volinfo,          xl = volgen_graph_add (graph, "performance/io-threads", volname);          if (!xl)                  return -1; -        ret = xlator_set_option (xl, "thread-count", "16"); -        if (ret) -                return -1;          xl = volgen_graph_add_as (graph, "debug/io-stats", path);          if (!xl) diff --git a/xlators/performance/io-threads/src/io-threads.h b/xlators/performance/io-threads/src/io-threads.h index df1601846..885015c18 100644 --- a/xlators/performance/io-threads/src/io-threads.h +++ b/xlators/performance/io-threads/src/io-threads.h @@ -46,7 +46,7 @@ struct iot_conf;  #define IOT_DEFAULT_IDLE                120     /* In secs. */  #define IOT_MIN_THREADS         1 -#define IOT_DEFAULT_THREADS     8 +#define IOT_DEFAULT_THREADS     16  #define IOT_MAX_THREADS         64  | 
