Jeff Layton has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/443013
Change subject: rados_urls: set up watch if RADOS_URLS block configures it
......................................................................
rados_urls: set up watch if RADOS_URLS block configures it
We can send ganesha a SIGHUP to tell it to reread its configuration. In
a containerized environment however, sending such a signal represents a
potential security issue as we need to open up permissions to allow it.
This patch adds a new watch_url option to the RADOS_URLS config block.
When that points to a valid RADOS object, set a watch on that object.
When we get a notification on that object, send a SIGHUP to ourselves
to force a configuration reload.
Change-Id: Ia83329eb0774f8b0bff428b60fc72df1a70b47c8
Signed-off-by: Jeff Layton <jlayton(a)redhat.com>
---
M src/MainNFSD/nfs_admin_thread.c
M src/MainNFSD/nfs_init.c
M src/config_parsing/conf_url_rados.c
M src/config_samples/ceph.conf
M src/doc/man/ganesha-core-config.rst
R src/include/conf_url_rados.h
6 files changed, 135 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/13/443013/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/443013
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Ia83329eb0774f8b0bff428b60fc72df1a70b47c8
Gerrit-Change-Number: 443013
Gerrit-PatchSet: 1
Gerrit-Owner: Jeff Layton <jlayton(a)redhat.com>
Gerrit-MessageType: newchange