summaryrefslogtreecommitdiffstats
path: root/xlators/performance/quick-read/src/quick-read.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/performance/quick-read/src/quick-read.c')
-rw-r--r--xlators/performance/quick-read/src/quick-read.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xlators/performance/quick-read/src/quick-read.c b/xlators/performance/quick-read/src/quick-read.c
index fed576015..051308784 100644
--- a/xlators/performance/quick-read/src/quick-read.c
+++ b/xlators/performance/quick-read/src/quick-read.c
@@ -3600,7 +3600,8 @@ mem_acct_init (xlator_t *this)
return ret;
}
-gf_boolean_t
+
+static gf_boolean_t
check_cache_size_ok (xlator_t *this, int64_t cache_size)
{
int ret = _gf_true;
@@ -3623,7 +3624,7 @@ check_cache_size_ok (xlator_t *this, int64_t cache_size)
else
max_cache_size = total_mem;
- gf_log (this->name, GF_LOG_INFO, "Max cache size is %"PRIu64,
+ gf_log (this->name, GF_LOG_DEBUG, "Max cache size is %"PRIu64,
max_cache_size);
if (cache_size > max_cache_size) {
ret = _gf_false;