summaryrefslogtreecommitdiffstats
path: root/xlators/performance/io-threads/src/io-threads.h
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@zresearch.com>2009-02-19 05:20:41 -0800
committerAnand V. Avati <avati@dev.gluster.com>2009-02-19 07:08:30 -0800
commit57957c59cd2925540769ae9cb58029b0125e4ae7 (patch)
tree58b7cfb9c25f02d3816dd91f3f097ceccf5901fd /xlators/performance/io-threads/src/io-threads.h
parent6a250d9087014551c5085a534248982b195f819f (diff)
Remove conf->cache_size checks
Since we're not dependent on this io-thread internal state(i.e. cache_size and current_size) to rate limit requests, we can remove these two data members and code that checks for these. Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
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, 0 insertions, 2 deletions
diff --git a/xlators/performance/io-threads/src/io-threads.h b/xlators/performance/io-threads/src/io-threads.h
index db578115750..419f6fdb8e6 100644
--- a/xlators/performance/io-threads/src/io-threads.h
+++ b/xlators/performance/io-threads/src/io-threads.h
@@ -77,8 +77,6 @@ struct iot_conf {
struct iot_file files;
pthread_mutex_t files_lock;
- uint64_t cache_size;
- off_t current_size;
pthread_cond_t q_cond;
pthread_mutex_t lock;
};