diff options
author | Shehjar Tikoo <shehjart@zresearch.com> | 2009-04-10 07:09:49 -0700 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-12 11:59:24 +0530 |
commit | fa9eb588fbe758cbc1ebe727d2455f1dcd0b065f (patch) | |
tree | a93e620f511c30fce2b0ed692b69f5ada17fe424 /xlators/performance/io-threads/src | |
parent | 4f81149489ae80b20ac28d1fdbe48ee56d0a181b (diff) |
io-threads: Remove unnecessary call to pthread_attr_setstacksize
We do not need to explicitly set the stack size to its default
value.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/performance/io-threads/src')
-rw-r--r-- | xlators/performance/io-threads/src/io-threads.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/xlators/performance/io-threads/src/io-threads.c b/xlators/performance/io-threads/src/io-threads.c index 3477cb33a..001300c71 100644 --- a/xlators/performance/io-threads/src/io-threads.c +++ b/xlators/performance/io-threads/src/io-threads.c @@ -1792,11 +1792,7 @@ set_stack_size (iot_conf_t *conf) if (err == EINVAL) { gf_log (conf->this->name, GF_LOG_WARNING, "Using default thread stack size"); - stacksize = 0; } - - pthread_attr_setstacksize (&conf->w_attr, stacksize); - } static void |