From d95f28de8482c816c2b718d3cf62b667e7a6953c Mon Sep 17 00:00:00 2001 From: Gaurav Date: Tue, 1 Mar 2011 06:02:52 +0000 Subject: CLI : NFS disable option through volume set. Signed-off-by: Gaurav Signed-off-by: Anand V. Avati BUG: 2094 (Need option to turn off NFS) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2094 --- xlators/nfs/server/src/nfs.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'xlators/nfs') diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c index 0760b405df5..ad66410edfe 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} }, }; -- cgit