From 6997510c8ee9703b88206b57017fa5c78ec74b0e Mon Sep 17 00:00:00 2001
From: Aravinda VK <avishwan@redhat.com>
Date: Wed, 10 Jun 2015 14:14:25 +0530
Subject: [PATCH 64/73] 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/11156/
BUG: 1227618
Reviewed-on: http://review.gluster.org/11180
Reviewed-on: https://code.engineering.redhat.com/gerrit/50542
Reviewed-by: Saravanakumar Arumugam <sarumuga@redhat.com>
---
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 b5020b7..de14664 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,
},
};
--
1.7.1