summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaushal M <kaushal@redhat.com>2017-10-10 17:38:52 +0530
committerAmar Tumballi <amarts@redhat.com>2017-11-27 10:58:27 +0000
commit7df8ba088c68e10905b613de95f9f6df40d14825 (patch)
tree4a3a72ff02be7a3a0c74bdd11afca5aba15030e0
parent493545657bd122ba63d77553873c7f433fb74d04 (diff)
features/index: Update xlator options table
Updates #302 Change-Id: I2bc99394d89e94ae6aeee9de8d85a3d09991fad9 Signed-off-by: Amar Tumballi <amarts@redhat.com>
-rw-r--r--xlators/features/index/src/index.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/features/index/src/index.c b/xlators/features/index/src/index.c
index 619de37c13b..ed89c02ae74 100644
--- a/xlators/features/index/src/index.c
+++ b/xlators/features/index/src/index.c
@@ -2579,18 +2579,22 @@ struct volume_options options[] = {
{ .key = {"index-base" },
.type = GF_OPTION_TYPE_PATH,
.description = "path where the index files need to be stored",
+ .default_value = "{{ brick.path }}/.glusterfs/indices"
},
{ .key = {"xattrop64-watchlist" },
.type = GF_OPTION_TYPE_STR,
.description = "Comma separated list of xattrs that are watched",
+ .default_value = "trusted.ec.dirty"
},
{ .key = {"xattrop-dirty-watchlist" },
.type = GF_OPTION_TYPE_STR,
.description = "Comma separated list of xattrs that are watched",
+ .default_value = "trusted.afr.dirty"
},
{ .key = {"xattrop-pending-watchlist" },
.type = GF_OPTION_TYPE_STR,
.description = "Comma separated list of xattrs that are watched",
+ .default_value = "trusted.afr.{{ volume.name }}"
},
{ .key = {NULL} },
};