diff options
author | Kaushik BV <kaushikbv@gluster.com> | 2011-08-05 09:02:49 +0530 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-08-05 01:51:23 -0700 |
commit | c5a927ef1adfd51445946eb921728e2d72f1b6ca (patch) | |
tree | a1ddd680c76c6bbb122166402f4e58083898cb4f /xlators/nfs/server | |
parent | ebeedba9d76e51f4ddeacfbbf335e3eab6272435 (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/server')
-rw-r--r-- | xlators/nfs/server/src/nfs.c | 11 |
1 files changed, 11 insertions, 0 deletions
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} }, }; |