diff options
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-set.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 29e9f2b87..3f1d7d539 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -898,6 +898,25 @@ struct volopt_map_entry glusterd_volopt_map[] = { .type = NO_DOC, .op_version = 2 }, + { .key = "cluster.nsr", + .voltype = "cluster/nsr", + .option = "!nsr", + .op_version = 3, + .description = "enable NSR instead of AFR for replication", + .flags = OPT_FLAG_CLIENT_OPT | OPT_FLAG_XLATOR_OPT + }, + { .key = "cluster.nsr.recon", + .voltype = "cluster/nsr", + .op_version = 3, + .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", |