diff options
author | Aravinda VK <avishwan@redhat.com> | 2015-06-10 14:14:25 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-06-12 11:32:39 -0700 |
commit | 2e0c8bbe9a04693c270fd383a2a58f3ef87fb898 (patch) | |
tree | 819ff7c25de61aa00be4be090934c1feb8496b70 /xlators/mgmt/glusterd/src/glusterd-geo-rep.c | |
parent | 72f0bb931b75547be9b706a0ba1a7d735bbadc72 (diff) |
geo-rep: Validate use_meta_volume option
Added validation for use_meta_volume option.
Change-Id: I64cd9cb4bf383c7267638cab3837fd0cf89071c7
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Reviewed-on: http://review.gluster.org/#/c/11156/
BUG: 1230691
Reviewed-on: http://review.gluster.org/11180
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-geo-rep.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-geo-rep.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-geo-rep.c b/xlators/mgmt/glusterd/src/glusterd-geo-rep.c index b5020b741d2..de14664b260 100644 --- a/xlators/mgmt/glusterd/src/glusterd-geo-rep.c +++ b/xlators/mgmt/glusterd/src/glusterd-geo-rep.c @@ -56,6 +56,16 @@ struct gsync_config_opt_vals_ gsync_confopt_vals[] = { .case_sensitive = _gf_false, .values = {"true", "false", "0", "1", "yes", "no"} }, + {.op_name = "use_meta_volume", + .no_of_pos_vals = 6, + .case_sensitive = _gf_false, + .values = {"true", "false", "0", "1", "yes", "no"} + }, + {.op_name = "use-meta-volume", + .no_of_pos_vals = 6, + .case_sensitive = _gf_false, + .values = {"true", "false", "0", "1", "yes", "no"} + }, {.op_name = NULL, }, }; |