summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorRaghavendra Gowdappa <rgowdapp@redhat.com>2019-02-12 09:11:34 +0530
committerAmar Tumballi <amarts@redhat.com>2019-02-12 12:39:38 +0000
commitcccf41f254c601c249d064315592941375570f88 (patch)
tree83fbd26d12c6ba254e553f6a731d549cb0581a8b /xlators
parent34e6028e4ceaff5ceb1165317a3a90d02e0da4ac (diff)
performance/md-cache: change the op-version of "global-cache-invalidation"
Since release-6 is not done yet, this option can be introduced with GD_OP_VERSION_6_0. Change-Id: I8a0867e5b8b23d0d485704a2fc7a3efc4a90f637 Signed-off-by: Raghavendra Gowdappa <rgowdapp@redhat.com> updates: bz#1664934
Diffstat (limited to 'xlators')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c2
-rw-r--r--xlators/performance/md-cache/src/md-cache.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index 46eda9379ac..b32b6ce0ec4 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -1798,7 +1798,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
{.key = "performance.global-cache-invalidation",
.voltype = "performance/md-cache",
.option = "global-cache-invalidation",
- .op_version = GD_OP_VERSION_7_0,
+ .op_version = GD_OP_VERSION_6_0,
.flags = VOLOPT_FLAG_CLIENT_OPT},
/* Feature translators */
diff --git a/xlators/performance/md-cache/src/md-cache.c b/xlators/performance/md-cache/src/md-cache.c
index a2d280e3290..186b352fba5 100644
--- a/xlators/performance/md-cache/src/md-cache.c
+++ b/xlators/performance/md-cache/src/md-cache.c
@@ -3873,7 +3873,7 @@ struct volume_options mdc_options[] = {
.key = {"global-cache-invalidation"},
.type = GF_OPTION_TYPE_BOOL,
.default_value = "true",
- .op_version = {GD_OP_VERSION_7_0},
+ .op_version = {GD_OP_VERSION_6_0},
.flags = OPT_FLAG_SETTABLE | OPT_FLAG_CLIENT_OPT | OPT_FLAG_DOC,
.description =
"When \"on\", purges all read caches in kernel and glusterfs stack "