From 15d9ee36c71bfe3499d7f3baf3a483199211261f Mon Sep 17 00:00:00 2001 From: Prasanna Kumar Kalever Date: Thu, 1 Jun 2017 15:08:44 +0530 Subject: daemon: make glfs lru cache capacity configurable $ gluster-blockd --help gluster-blockd (0.2) usage: gluster-blockd [--glfs-lru-count ] commands: --glfs-lru-count glfs objects cache capacity [max: 512] (default: 5) --help show this message and exit. --version show version info and exit. Change-Id: I00a9277690a1c5ace51e223e9e4ed9ce61ae2428 Signed-off-by: Prasanna Kumar Kalever --- utils/lru.h | 1 + 1 file changed, 1 insertion(+) (limited to 'utils/lru.h') diff --git a/utils/lru.h b/utils/lru.h index e9af217..adb2834 100644 --- a/utils/lru.h +++ b/utils/lru.h @@ -17,6 +17,7 @@ # include "common.h" # include "list.h" +# define LRU_COUNT_MAX 512 void initCache(void); -- cgit