summaryrefslogtreecommitdiffstats
path: root/xlators/performance/symlink-cache
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/performance/symlink-cache')
-rw-r--r--xlators/performance/symlink-cache/src/symlink-cache.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/xlators/performance/symlink-cache/src/symlink-cache.c b/xlators/performance/symlink-cache/src/symlink-cache.c
index 58d0783f233..07c3623ee94 100644
--- a/xlators/performance/symlink-cache/src/symlink-cache.c
+++ b/xlators/performance/symlink-cache/src/symlink-cache.c
@@ -356,5 +356,13 @@ struct xlator_cbks cbks = {
};
struct volume_options options[] = {
+ {
+ .key = {"symlink-cache"},
+ .type = GF_OPTION_TYPE_BOOL,
+ .default_value = "off",
+ .description = "enable/disable symlink-cache",
+ .op_version = {GD_OP_VERSION_6_0},
+ .flags = OPT_FLAG_SETTABLE,
+ },
{.key = {NULL}},
};