summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
Diffstat (limited to 'xlators')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c2
-rw-r--r--xlators/performance/io-threads/src/io-threads.c2
-rw-r--r--xlators/performance/md-cache/src/md-cache.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index 27455846855..446224b907f 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -2675,7 +2675,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
{ .key = NFS_DISABLE_MAP_KEY,
.voltype = "nfs/server",
.option = "!nfs-disable",
- .value = "on",
+ .value = SITE_H_NFS_DISABLE,
.op_version = 1
},
{ .key = "nfs.nlm",
diff --git a/xlators/performance/io-threads/src/io-threads.c b/xlators/performance/io-threads/src/io-threads.c
index bade0d6a807..80d0168bf4c 100644
--- a/xlators/performance/io-threads/src/io-threads.c
+++ b/xlators/performance/io-threads/src/io-threads.c
@@ -1256,7 +1256,7 @@ struct volume_options options[] = {
},
{ .key = {"enable-least-priority"},
.type = GF_OPTION_TYPE_BOOL,
- .default_value = "on",
+ .default_value = SITE_H_ENABLE_LEAST_PRIORITY,
.op_version = {1},
.flags = OPT_FLAG_SETTABLE | OPT_FLAG_DOC,
.tags = {"io-threads"},
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"},