summaryrefslogtreecommitdiffstats
path: root/xlators/performance/md-cache
diff options
context:
space:
mode:
authorJeff Darcy <jdarcy@fb.com>2018-01-25 06:52:32 -0800
committerAmar Tumballi <amarts@redhat.com>2018-01-30 03:51:57 +0000
commit9bbee1c2bc91d194d7470dfe2351b7d8c7abe102 (patch)
treef748376ff9adf1ab14db7558516bcdacf83dba3e /xlators/performance/md-cache
parent3e78ea991b213422fc423ff94994e1eb295569c7 (diff)
core: add some examples of site.h usage
Change-Id: I6ce574a593eda8f3a6b2fc8969b5edf7c250b61c Signed-off-by: Jeff Darcy <jdarcy@fb.com>
Diffstat (limited to 'xlators/performance/md-cache')
-rw-r--r--xlators/performance/md-cache/src/md-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/md-cache/src/md-cache.c b/xlators/performance/md-cache/src/md-cache.c
index 264116e0151..5dc7bc7a911 100644
--- a/xlators/performance/md-cache/src/md-cache.c
+++ b/xlators/performance/md-cache/src/md-cache.c
@@ -3198,7 +3198,7 @@ struct volume_options options[] = {
.type = GF_OPTION_TYPE_INT,
.min = 0,
.max = 600,
- .default_value = "1",
+ .default_value = SITE_H_MD_CACHE_TIMEOUT,
.description = "Time period after which cache has to be refreshed",
},
{ .key = {"force-readdirp"},