diff options
author | Rajesh Amaravathi <rajesh@redhat.com> | 2012-04-16 12:05:45 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-04-17 06:29:49 -0700 |
commit | b69f0110410c670eb6c31b6669d47ec2aaeb92f4 (patch) | |
tree | 715919178150f772f674e920d864b621b3ccd370 /xlators/nfs/server/src/nfs.h | |
parent | c20f501d0632d6105f0d570ac8dec251974ebe87 (diff) |
nfs: option to disable NLM
Adding support to disable/enable nlm with the following command:
# gluster volume set <VOLNAME> nfs.nlm [on|off]
Change-Id: I1ad3e44c5d4349d0f3463bfca0995fd10def39dd
BUG: 812869
Signed-off-by: Rajesh Amaravathi <rajesh@redhat.com>
Reviewed-on: http://review.gluster.com/3160
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Krishna Srinivas <krishna@gluster.com>
Diffstat (limited to 'xlators/nfs/server/src/nfs.h')
-rw-r--r-- | xlators/nfs/server/src/nfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/nfs.h b/xlators/nfs/server/src/nfs.h index 706cba86f3e..0c9721244c6 100644 --- a/xlators/nfs/server/src/nfs.h +++ b/xlators/nfs/server/src/nfs.h @@ -85,6 +85,7 @@ struct nfs_state { int enable_ino32; unsigned int override_portnum; int allow_insecure; + int enable_nlm; struct rpc_clnt *rpc_clnt; }; |