diff options
| author | Xavier Hernandez <jahernan@redhat.com> | 2017-11-14 10:53:47 +0100 | 
|---|---|---|
| committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2017-11-16 14:48:45 +0000 | 
| commit | 271b7de727ea77bf06402562f449d6df969a3f99 (patch) | |
| tree | 9ed266505b78af04993478d2b0d0f3f38bc6ceda | |
| parent | b4684468c19e0fb447ba3762750044452a452a32 (diff) | |
cluster/ec: Fix op-version for disperse.other-eager-lock
The op-version used for the new option was wrong. It has been set
to 3.13.0.
>Change-Id: I88fbd7834e4a8018c8906303e734c251e90be8cf
>BUG: 1502610
>Signed-off-by: Xavier Hernandez <jahernan@redhat.com>
Change-Id: I88fbd7834e4a8018c8906303e734c251e90be8cf
BUG: 1512460
Signed-off-by: Xavier Hernandez <jahernan@redhat.com>
| -rw-r--r-- | xlators/cluster/ec/src/ec.c | 2 | ||||
| -rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/xlators/cluster/ec/src/ec.c b/xlators/cluster/ec/src/ec.c index 9f361a54aa3..1acdc9e766e 100644 --- a/xlators/cluster/ec/src/ec.c +++ b/xlators/cluster/ec/src/ec.c @@ -1417,7 +1417,7 @@ struct volume_options options[] =      { .key = {"other-eager-lock"},        .type = GF_OPTION_TYPE_BOOL,        .default_value = "on", -      .op_version = { GD_OP_VERSION_3_12_3 }, +      .op_version = { GD_OP_VERSION_3_13_0 },        .flags = OPT_FLAG_SETTABLE | OPT_FLAG_CLIENT_OPT | OPT_FLAG_DOC,        .tags = { "disperse" },        .description = "It's equivalent to the eager-lock option but for non " diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 69e207eb0a1..e105783fdb2 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -1447,7 +1447,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {          },          { .key        = "disperse.other-eager-lock",            .voltype    = "cluster/disperse", -          .op_version = GD_OP_VERSION_3_12_2, +          .op_version = GD_OP_VERSION_3_13_0,            .flags      = VOLOPT_FLAG_CLIENT_OPT          },          { .key        = "cluster.quorum-type",  | 
