From 0b3f08cd50f76af537aa4bce2f09602a4834b0fc Mon Sep 17 00:00:00 2001 From: ShyamsundarR Date: Thu, 13 Sep 2018 12:50:30 -0400 Subject: glusterd: Update op-version from 4.2 to 5.0 Post changing the max op-version to 4.2, after release 4.1 branching, the decision was to go with increasing release numbers. Thus this needs to change to 5.0. This commit addresses the above change. Fixes: bz#1628664 Change-Id: Ifcc0c6da90fdd51e4eceea40749511110a432cce Signed-off-by: ShyamsundarR --- xlators/mgmt/glusterd/src/glusterd-volume-set.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-set.c') diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index aee83109542..5a8d8a10e25 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -1738,7 +1738,7 @@ struct volopt_map_entry glusterd_volopt_map[] = { {.key = "performance.ctime-invalidation", .voltype = "performance/quick-read", .option = "ctime-invalidation", - .op_version = GD_OP_VERSION_4_2_0, + .op_version = GD_OP_VERSION_5_0, .flags = VOLOPT_FLAG_CLIENT_OPT}, {.key = "performance.flush-behind", .voltype = "performance/write-behind", @@ -3294,13 +3294,13 @@ struct volopt_map_entry glusterd_volopt_map[] = { { .key = "features.shard-lru-limit", .voltype = "features/shard", - .op_version = GD_OP_VERSION_4_2_0, + .op_version = GD_OP_VERSION_5_0, .flags = VOLOPT_FLAG_CLIENT_OPT, .type = NO_DOC, }, {.key = "features.shard-deletion-rate", .voltype = "features/shard", - .op_version = GD_OP_VERSION_4_2_0, + .op_version = GD_OP_VERSION_5_0, .flags = VOLOPT_FLAG_CLIENT_OPT}, { .key = "features.scrub-throttle", @@ -3617,7 +3617,7 @@ struct volopt_map_entry glusterd_volopt_map[] = { .voltype = "mgmt/glusterd", .type = GLOBAL_NO_DOC, .value = "INFO", - .op_version = GD_OP_VERSION_4_2_0}, + .op_version = GD_OP_VERSION_5_0}, {.key = "debug.delay-gen", .voltype = "debug/delay-gen", .option = "!debug", @@ -3672,22 +3672,22 @@ struct volopt_map_entry glusterd_volopt_map[] = { .flags = VOLOPT_FLAG_CLIENT_OPT | VOLOPT_FLAG_XLATOR_OPT}, {.key = "feature.cloudsync-storetype", .voltype = "features/cloudsync", - .op_version = GD_OP_VERSION_4_2_0, + .op_version = GD_OP_VERSION_5_0, .flags = VOLOPT_FLAG_CLIENT_OPT}, {.key = "features.s3plugin-seckey", .voltype = "features/cloudsync", - .op_version = GD_OP_VERSION_4_2_0, + .op_version = GD_OP_VERSION_5_0, .flags = VOLOPT_FLAG_CLIENT_OPT}, {.key = "features.s3plugin-keyid", .voltype = "features/cloudsync", - .op_version = GD_OP_VERSION_4_2_0, + .op_version = GD_OP_VERSION_5_0, .flags = VOLOPT_FLAG_CLIENT_OPT}, {.key = "features.s3plugin-bucketid", .voltype = "features/cloudsync", - .op_version = GD_OP_VERSION_4_2_0, + .op_version = GD_OP_VERSION_5_0, .flags = VOLOPT_FLAG_CLIENT_OPT}, {.key = "features.s3plugin-hostname", .voltype = "features/cloudsync", - .op_version = GD_OP_VERSION_4_2_0, + .op_version = GD_OP_VERSION_5_0, .flags = VOLOPT_FLAG_CLIENT_OPT}, {.key = NULL}}; -- cgit