[L] Change in ...nfs-ganesha[next]: Add runtime Cluster_Members update via D-Bus and gRPC
Suhas Athani has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1244581?usp=email ) Change subject: Add runtime Cluster_Members update via D-Bus and gRPC ...................................................................... Add runtime Cluster_Members update via D-Bus and gRPC - Add runtime Set/Show for NFS_CORE_PARAM.Cluster_Members (IPv4/IPv6 host addresses only). - Expose the same APIs on D-Bus (org.ganesha.nfsd.admin) and gRPC (nfsService.ClusterMembers). - Protect list updates with nfs_core_lock, keep the NSM notify thread lifecycle in sync, and leave the previous list unchanged on validation failure. Details: - New helpers in cluster_members.c / cluster_members.h. - D-Bus: SetClusterMembers / ShowClusterMembers on /org/ganesha/nfsd/admin. - gRPC: SetClusterMembers / ShowClusterMembers. - Config reread / SIGHUP can also refresh Cluster_Members. - Runtime updates are per-node and do not rewrite ganesha.conf. - Self IPs are moved to cluster_self and omitted from Show. Change-Id: Idf631c4c648ff0d835bf07962f5ee7991b5ddd5e Signed-off-by: Suhas Athani <Suhas.Athani@ibm.com> --- M src/MainNFSD/nfs_admin_thread.c M src/MainNFSD/nfs_init.c M src/Protocols/NLM/nsm.c M src/doc/man/ganesha-core-config.rst M src/grpc_server/GrpcServer.cc M src/grpc_server/GrpcServer.h M src/grpc_server/nfsService.h M src/grpc_server/nfsServiceServer.cc M src/grpc_server/proto/nfsService.proto A src/include/cluster_members.h M src/include/gsh_config.h M src/include/nfs_core.h M src/include/nsm.h M src/include/sal_functions.h M src/support/CMakeLists.txt M src/support/client_mgr.c A src/support/cluster_members.c M src/support/nfs_read_conf.c 18 files changed, 879 insertions(+), 78 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/81/1244581/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1244581?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: Idf631c4c648ff0d835bf07962f5ee7991b5ddd5e Gerrit-Change-Number: 1244581 Gerrit-PatchSet: 1 Gerrit-Owner: Suhas Athani <Suhas.Athani@ibm.com>
participants (1)
-
Suhas Athani (GerritHub)