diff options
| author | Milind Changire <mchangir@redhat.com> | 2016-12-02 10:29:51 +0530 | 
|---|---|---|
| committer | Atin Mukherjee <amukherj@redhat.com> | 2016-12-02 02:16:58 -0800 | 
| commit | 89ee91e4256029014ccf2f0475d638e0558aa1d5 (patch) | |
| tree | fd537ba384d8b76dc8428a421c8a3de932a18c9c | |
| parent | 07179c8188152d53e6be2c892bd24f3d8e6b70ea (diff) | |
cluster/tier: fix op-version for tier-query-limit
Correct the op-version for tier-query-limit option from 3.9.0 to 3.9.1
> BUG: 1366648
> Reviewed-on: http://review.gluster.org/15990
> Reviewed-by: Dan Lambright <dlambrig@redhat.com>
> Smoke: Gluster Build System <jenkins@build.gluster.org>
> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
> Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
(cherry picked from commit 530453c78146e8ba4f13636e1dec1ea59849c783)
Change-Id: I3a52a94c2708a97c18377e945d559a51d8025c41
BUG: 1394482
Signed-off-by: Milind Changire <mchangir@redhat.com>
Reviewed-on: http://review.gluster.org/16000
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
| -rw-r--r-- | libglusterfs/src/globals.h | 4 | ||||
| -rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 2 | 
2 files changed, 4 insertions, 2 deletions
diff --git a/libglusterfs/src/globals.h b/libglusterfs/src/globals.h index 1edcc4bd600..29473d03a35 100644 --- a/libglusterfs/src/globals.h +++ b/libglusterfs/src/globals.h @@ -38,7 +38,7 @@   */  #define GD_OP_VERSION_MIN  1 /* MIN is the fresh start op-version, mostly                                  should not change */ -#define GD_OP_VERSION_MAX  GD_OP_VERSION_3_9_0 /* MAX VERSION is the maximum +#define GD_OP_VERSION_MAX  GD_OP_VERSION_3_9_1 /* MAX VERSION is the maximum                                                    count in VME table, should                                                    keep changing with                                                    introduction of newer @@ -74,6 +74,8 @@  #define GD_OP_VERSION_3_9_0    30900 /* Op-version for GlusterFS 3.9.0 */ +#define GD_OP_VERSION_3_9_1    30901 /* Op-version for GlusterFS 3.9.1 */ +  #define GD_OP_VER_PERSISTENT_AFR_XATTRS GD_OP_VERSION_3_6_0  #include "xlator.h" diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 692d24b52fe..db5f5b96365 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -2735,7 +2735,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {            .voltype     = "cluster/tier",            .option      = "tier-query-limit",            .value       = "100", -          .op_version  = GD_OP_VERSION_3_9_0, +          .op_version  = GD_OP_VERSION_3_9_1,            .flags       = OPT_FLAG_CLIENT_OPT,            .validate_fn = validate_tier,            .type        = NO_DOC,  | 
