summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvra Sengupta <asengupt@redhat.com>2013-02-26 12:39:17 +0530
committerAnand Avati <avati@redhat.com>2013-03-01 14:54:10 -0800
commit9636e63913c98740cb428c026ea5f88a816d527e (patch)
tree0101d7209214d1152275d8f9970cd268ce2d4e58
parent1ffe690f563804ba1a87d3f526de32bc64e1a2cc (diff)
glusterd: Added description for nfs.transport-type option in volume set help.
Change-Id: I9fe81dc1c3172158e8dd86c4fa2a04af18cb9dde BUG: 782285 Signed-off-by: Avra Sengupta <asengupt@redhat.com> Reviewed-on: http://review.gluster.org/4582 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amarts@redhat.com> Reviewed-by: Anand Avati <avati@redhat.com>
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index 49d2158ffdf..bc8d53e8580 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -1027,7 +1027,10 @@ struct volopt_map_entry glusterd_volopt_map[] = {
{ .key = "nfs.transport-type",
.voltype = "nfs/server",
.option = "!nfs.transport-type",
- .op_version = 1
+ .value = "tcp",
+ .op_version = 1,
+ .description = "Specifies the nfs transport type. Valid "
+ "transport types are 'tcp' and 'rdma'."
},
{ .key = "nfs.trusted-sync",
.voltype = "nfs/server",