From 57957c59cd2925540769ae9cb58029b0125e4ae7 Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Thu, 19 Feb 2009 05:20:41 -0800 Subject: 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 --- xlators/performance/io-threads/src/io-threads.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'xlators/performance/io-threads/src/io-threads.h') 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; }; -- cgit