From 46d333783a968ab39e0beade9c7a1eec8035f8b1 Mon Sep 17 00:00:00 2001 From: Jeff Darcy Date: Mon, 31 Mar 2014 18:37:38 +0000 Subject: nsr: add quorum enforcement Change-Id: I0241f8c1ac97c80ae438e3d9f1ac492d63da9347 Signed-off-by: Jeff Darcy --- xlators/mgmt/glusterd/src/glusterd-volume-set.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'xlators/mgmt') diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 39bbe0a13..24a6ed7cd 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -889,6 +889,12 @@ struct volopt_map_entry glusterd_volopt_map[] = { .description = "enable NSR reconciliation", .flags = OPT_FLAG_CLIENT_OPT | OPT_FLAG_XLATOR_OPT }, + { .key = "cluster.nsr.quorum-percent", + .voltype = "cluster/nsr", + .option = "quorum-percent", + .op_version = 3, + .description = "percent of rep_count-1 bricks that must be up" + }, /* Performance xlators enable/disbable options */ { .key = "performance.write-behind", -- cgit