summaryrefslogtreecommitdiffstats
path: root/xlators/performance/io-cache
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2010-02-22 11:00:20 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-02-22 08:51:40 -0800
commit5ae4f11319de9a800a595175678762f9fc924755 (patch)
tree0e19ec86de320453e8441fe59fe3f23844eb7d5d /xlators/performance/io-cache
parent5f524f4b2f0dbccfe6c8d4aab16ce425dd6d2b50 (diff)
io-threads: single queue/multi-thread model
This patch lets io-threads work with a single queue and multiple threads work on picking the next request from the queue and process it. Whenever the number of pending requests in the queue double, a new worker thread is spawned. Workers expire after a (configurable) timeout of inactivity Signed-off-by: Anand V. Avati <avati@amp.gluster.com> 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-cache')
0 files changed, 0 insertions, 0 deletions