summaryrefslogtreecommitdiffstats
path: root/xlators/performance/io-threads/src/io-threads.h
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2010-02-27 07:00:10 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-02-27 09:34:04 -0800
commit904fef5cfece1e6eb69510b7409efe779867ca0a (patch)
treea09d9642b76bd590ac3bf3607e95884d87e7759c /xlators/performance/io-threads/src/io-threads.h
parent042fe15e637c4bfe569d9b1c3a7e30889895c109 (diff)
io-threads: more fixes
* conditional for scaling up threads was wrong * ETIMEDOUT check was performed wrongly Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 583 (filesystem access hangs while deleting large files) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=583
Diffstat (limited to 'xlators/performance/io-threads/src/io-threads.h')
-rw-r--r--xlators/performance/io-threads/src/io-threads.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/io-threads/src/io-threads.h b/xlators/performance/io-threads/src/io-threads.h
index 8b9985be16c..85836ff583d 100644
--- a/xlators/performance/io-threads/src/io-threads.h
+++ b/xlators/performance/io-threads/src/io-threads.h
@@ -42,7 +42,7 @@ struct iot_conf;
#define MAX_IDLE_SKEW 4 /* In secs */
#define skew_sec_idle_time(sec) ((sec) + (random () % MAX_IDLE_SKEW))
-#define IOT_DEFAULT_IDLE 180 /* In secs. */
+#define IOT_DEFAULT_IDLE 120 /* In secs. */
#define IOT_MIN_THREADS 1
#define IOT_DEFAULT_THREADS 8