From c5a927ef1adfd51445946eb921728e2d72f1b6ca Mon Sep 17 00:00:00 2001 From: Kaushik BV Date: Fri, 5 Aug 2011 09:02:49 +0530 Subject: 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 Reviewed-by: Anand Avati --- xlators/nfs/server/src/nfs.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'xlators/nfs/server/src') diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c index ebc6911b9..550b2bb91 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} }, }; -- cgit