|
|
cb8e9e |
From 6997510c8ee9703b88206b57017fa5c78ec74b0e Mon Sep 17 00:00:00 2001
|
|
|
cb8e9e |
From: Aravinda VK <avishwan@redhat.com>
|
|
|
cb8e9e |
Date: Wed, 10 Jun 2015 14:14:25 +0530
|
|
|
cb8e9e |
Subject: [PATCH 64/73] geo-rep: Validate use_meta_volume option
|
|
|
cb8e9e |
|
|
|
cb8e9e |
Added validation for use_meta_volume option.
|
|
|
cb8e9e |
|
|
|
cb8e9e |
Change-Id: I64cd9cb4bf383c7267638cab3837fd0cf89071c7
|
|
|
cb8e9e |
Signed-off-by: Aravinda VK <avishwan@redhat.com>
|
|
|
cb8e9e |
Reviewed-on: http://review.gluster.org/11156/
|
|
|
cb8e9e |
BUG: 1227618
|
|
|
cb8e9e |
Reviewed-on: http://review.gluster.org/11180
|
|
|
cb8e9e |
Reviewed-on: https://code.engineering.redhat.com/gerrit/50542
|
|
|
cb8e9e |
Reviewed-by: Saravanakumar Arumugam <sarumuga@redhat.com>
|
|
|
cb8e9e |
---
|
|
|
cb8e9e |
xlators/mgmt/glusterd/src/glusterd-geo-rep.c | 10 ++++++++++
|
|
|
cb8e9e |
1 files changed, 10 insertions(+), 0 deletions(-)
|
|
|
cb8e9e |
|
|
|
cb8e9e |
diff --git a/xlators/mgmt/glusterd/src/glusterd-geo-rep.c b/xlators/mgmt/glusterd/src/glusterd-geo-rep.c
|
|
|
cb8e9e |
index b5020b7..de14664 100644
|
|
|
cb8e9e |
--- a/xlators/mgmt/glusterd/src/glusterd-geo-rep.c
|
|
|
cb8e9e |
+++ b/xlators/mgmt/glusterd/src/glusterd-geo-rep.c
|
|
|
cb8e9e |
@@ -56,6 +56,16 @@ struct gsync_config_opt_vals_ gsync_confopt_vals[] = {
|
|
|
cb8e9e |
.case_sensitive = _gf_false,
|
|
|
cb8e9e |
.values = {"true", "false", "0", "1", "yes", "no"}
|
|
|
cb8e9e |
},
|
|
|
cb8e9e |
+ {.op_name = "use_meta_volume",
|
|
|
cb8e9e |
+ .no_of_pos_vals = 6,
|
|
|
cb8e9e |
+ .case_sensitive = _gf_false,
|
|
|
cb8e9e |
+ .values = {"true", "false", "0", "1", "yes", "no"}
|
|
|
cb8e9e |
+ },
|
|
|
cb8e9e |
+ {.op_name = "use-meta-volume",
|
|
|
cb8e9e |
+ .no_of_pos_vals = 6,
|
|
|
cb8e9e |
+ .case_sensitive = _gf_false,
|
|
|
cb8e9e |
+ .values = {"true", "false", "0", "1", "yes", "no"}
|
|
|
cb8e9e |
+ },
|
|
|
cb8e9e |
{.op_name = NULL,
|
|
|
cb8e9e |
},
|
|
|
cb8e9e |
};
|
|
|
cb8e9e |
--
|
|
|
cb8e9e |
1.7.1
|
|
|
cb8e9e |
|