summaryrefslogtreecommitdiffstats
path: root/xlators/nfs
diff options
context:
space:
mode:
authorGaurav <gaurav@gluster.com>2011-03-01 06:02:52 +0000
committerAnand V. Avati <avati@dev.gluster.com>2011-03-01 14:02:28 -0800
commitd95f28de8482c816c2b718d3cf62b667e7a6953c (patch)
tree3bbbf313ddd443fa7b22ea56c436b13f413ad1c1 /xlators/nfs
parent4d9de810f1cb4211fc59ab5b042771402c998331 (diff)
CLI : NFS disable option through volume set.
Signed-off-by: Gaurav <gaurav@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 2094 (Need option to turn off NFS) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2094
Diffstat (limited to 'xlators/nfs')
-rw-r--r--xlators/nfs/server/src/nfs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c
index 0760b405d..ad66410ed 100644
--- a/xlators/nfs/server/src/nfs.c
+++ b/xlators/nfs/server/src/nfs.c
@@ -937,6 +937,11 @@ struct volume_options options[] = {
"Please consult gluster-users list before using this "
"option."
},
+ { .key = {"nfs3.*.disable"},
+ .type = GF_OPTION_TYPE_BOOL,
+ .description = "This option is used to start or stop NFS server"
+ "for individual volume."
+ },
{ .key = {NULL} },
};