From abc8e5b01bff976e1f6b3c1e2747a2a341bf0f64 Mon Sep 17 00:00:00 2001 From: Kaushal M Date: Mon, 3 Sep 2012 16:51:06 +0530 Subject: glusterd: 'volume set' changes for op-version support An op-version check is performed for the given keys during stage. The commit phase moves the cluster op-version to the required version if needed. Change-Id: Id5c387094dbec723df736b2ecdc49ff93c179e0e BUG: 814534 Signed-off-by: Kaushal M Reviewed-on: http://review.gluster.org/3780 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- xlators/mgmt/glusterd/src/glusterd-volgen.c | 320 +++++++++++++++------------- 1 file changed, 172 insertions(+), 148 deletions(-) (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.c') diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c index 2784242fe..ac9565cf4 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volgen.c +++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c @@ -60,6 +60,15 @@ * a default. That is, even the volume dict doesn't have a value, * we procced as if the default value were set for it. * + * Fifth field is , which decides if the option is public and available + * in "set help" or not. "NODOC" entries are not part of the public interface + * and are subject to change at any time. This also decides if an option is + * global (apllies to all volumes) or normal (applies to only specified volume). + * + * Sixth field is . + * + * Seventh field is . + * * There are two type of entries: basic and special. * * - Basic entries are the ones where the