diff options
author | Jeff Darcy <jdarcy@redhat.com> | 2013-12-11 16:26:25 -0500 |
---|---|---|
committer | Jeff Darcy <jdarcy@redhat.com> | 2013-12-11 16:26:25 -0500 |
commit | ef171ff2bfd114e46442441fbdeb692a416cc951 (patch) | |
tree | 27ac663045954c8efb145fbbae3df87d7bbfe5b3 /xlators/mgmt/glusterd/src/glusterd-volume-set.c | |
parent | 4bbbda2017be3cfae57c122d70d11c9470364f63 (diff) |
Roll-up patch for NSR so far.
Previous history:
https://forge.gluster.org/~jdarcy/glusterfs-core/glusterfs-nsr
Change-Id: I2b56328788753c6a74d9589815f2dd705ac9ce6a
Signed-off-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-set.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 131f96ce6..f209d1ad9 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -860,6 +860,19 @@ 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 + }, /* Performance xlators enable/disbable options */ { .key = "performance.write-behind", |