Frank Filz has uploaded this change for review.
WIP - Support Local NLM
This patch is a hack to allow Ganesha to accept NFSv3 mounts with locking
from localhost. The hack utilizes Ganesha's rpcbind implementation to
accept rpcbind registration from the kernel lockd, and use that when
Ganesha tries to send NLM callbacks and SM_NOTIFY to the kernel client
(note that it doesn't actually send SM_NOTIFY (since that would go to
itself), instead it directly makes the callback registered by SM_MON.
NOTE: This is very work in progress and has had no testing at all.
Change-Id: I87b3459553bd2c9eee197bcf13a09c49a9f2a8fa
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
---
M src/CMakeLists.txt
M src/MainNFSD/nfs_rpc_dispatcher_thread.c
M src/Protocols/NLM/nlm_async.c
M src/Protocols/NLM/nsm.c
M src/Protocols/RPCBIND/rpcbind.c
M src/SAL/nfs4_recovery.c
M src/SAL/recovery/recovery_fs.c
M src/include/config-h.in.cmake
M src/include/gsh_recovery.h
M src/include/nfs_proto_data.h
M src/include/nsm.h
11 files changed, 753 insertions(+), 18 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/89/1230489/1
To view, visit change 1230489. To unsubscribe, or for help writing mail filters, visit settings.