summaryrefslogtreecommitdiffstats
path: root/xlators/nfs
diff options
context:
space:
mode:
authorKaushik BV <kaushikbv@gluster.com>2011-08-05 09:02:49 +0530
committerAnand Avati <avati@gluster.com>2011-08-05 01:51:23 -0700
commitc5a927ef1adfd51445946eb921728e2d72f1b6ca (patch)
treea1ddd680c76c6bbb122166402f4e58083898cb4f /xlators/nfs
parentebeedba9d76e51f4ddeacfbbf335e3eab6272435 (diff)
mgmt/glusterd: Minor fixes for volume set help/help-xml
- Overallocate the buffer-size of the xmlBuffer to 16KB - Introduce synthetic options in xlators - Change the tags of XML output Change-Id: I8c9ab466973b5c12accba4741c336e380a180bed BUG: 2041 Reviewed-on: http://review.gluster.com/168 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@gluster.com>
Diffstat (limited to 'xlators/nfs')
-rw-r--r--xlators/nfs/server/src/nfs.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c
index ebc6911b9b3..550b2bb9199 100644
--- a/xlators/nfs/server/src/nfs.c
+++ b/xlators/nfs/server/src/nfs.c
@@ -1001,12 +1001,23 @@ struct volume_options options[] = {
"Please consult gluster-users list before using this "
"option."
},
+ /* XXX These are synthetic options which are actually recognized and *
+ * validated in addr.c, added here to get visibiliity in *
+ * volume set command */
{ .key = {"nfs-disable"},
.type = GF_OPTION_TYPE_BOOL,
.default_value = "off",
.description = "This option is used to enable/disable NFS server"
"for individual volume."
},
+ {
+ .key = {"nfs.transport-type"},
+ .type = GF_OPTION_TYPE_STR,
+ .default_value = "",
+ .description = "This options is used to change the transport type of"
+ " NFS Server.",
+ },
+
{ .key = {NULL} },
};