diff options
author | Prasanna Kumar Kalever <prasanna.kalever@redhat.com> | 2017-06-01 15:08:44 +0530 |
---|---|---|
committer | Prasanna Kumar Kalever <prasanna.kalever@redhat.com> | 2017-06-05 22:12:20 +0530 |
commit | 15d9ee36c71bfe3499d7f3baf3a483199211261f (patch) | |
tree | a085afa3fabe33aab37128a7f140f69032c4844f /utils/lru.h | |
parent | 3994aa8cf1bdcf3a07cddfefdb96cc2b94e01a97 (diff) |
daemon: make glfs lru cache capacity configurable
$ gluster-blockd --help
gluster-blockd (0.2)
usage:
gluster-blockd [--glfs-lru-count <count>]
commands:
--glfs-lru-count <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 <prasanna.kalever@redhat.com>
Diffstat (limited to 'utils/lru.h')
-rw-r--r-- | utils/lru.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |