summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2010-06-21 02:17:49 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-06-22 23:16:18 -0700
commit23bec6b810bfd0ae78eb9ba2e9c644c42a3da1da (patch)
treecce08d56a4606344effb215380ccf7e89d871547 /xlators
parent10d3dfe91c1f0eb185fc4ca88be77a200f992c61 (diff)
io-threads: initialize conf->w_attr
Uninitialized value was causing pthread_create() to fail on solaris resulting in hung calls Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1001 (unclean termination upon getting signalled) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1001
Diffstat (limited to 'xlators')
-rw-r--r--xlators/performance/io-threads/src/io-threads.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/performance/io-threads/src/io-threads.c b/xlators/performance/io-threads/src/io-threads.c
index 74a20a4de..7f265d1dd 100644
--- a/xlators/performance/io-threads/src/io-threads.c
+++ b/xlators/performance/io-threads/src/io-threads.c
@@ -2158,6 +2158,8 @@ init (xlator_t *this)
goto out;
}
+ set_stack_size (conf);
+
thread_count = IOT_DEFAULT_THREADS;
if (dict_get (options, "thread-count")) {