Peter Schwenke has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1225618?usp=email )
Change subject: Modify Enable_UDP config option to take NLM option
......................................................................
Modify Enable_UDP config option to take NLM option
UDP needs to be enabled for NFS Ganesha to receive NLM messages
from rpc-statd. When an NFS client reboots it sends SM_NOTIFY
to rpc-statd on the NSF Ganesha server. Then rpc-statd needs
to be able to send an SM_UNMON to NFS Ganesha's lock manager.
If that communication is not possible, the client will keep
sending the SM_NOTIFY until it gives up. The NFS server
instances will become unstable.
rpc-statd will only send this via UDP. Enabling all of the
UDP port options with Enable_UDP = TRUE is not desirable.
Only the MOUNT option really needs to be specified.
NFS should not be enabled with UDP ports. So we add the ability
to specify
Enable_UDP = MOUNT, NLM
Change-Id: Id435c32f915e6e6aef123c58edb2077ed05241f1
Signed-off-by: Peter Schwenke <pschwenke(a)ddn.com>
---
M src/MainNFSD/nfs_rpc_dispatcher_thread.c
M src/config_samples/config.txt
M src/doc/man/ganesha-core-config.rst
M src/include/gsh_config.h
M src/support/nfs_read_conf.c
5 files changed, 19 insertions(+), 6 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/18/1225618/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1225618?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Id435c32f915e6e6aef123c58edb2077ed05241f1
Gerrit-Change-Number: 1225618
Gerrit-PatchSet: 1
Gerrit-Owner: Peter Schwenke <pschwenke(a)ddn.com>