From: Jason Dillaman Date: Tue, 28 Jul 2020 01:14:18 +0000 (-0400) Subject: librbd: update hidden global config when setting pool config override X-Git-Tag: v15.2.5~58^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F36638%2Fhead;p=ceph.git librbd: update hidden global config when setting pool config override The new "dev"-level global config setting will be updated when any pool-level config override is updated. librbd clients will detect the new global-level config update and trigger a refresh. This avoids the need for potentially tens of thousands of librbd clients registering a watch on the pool metadata object or periodically polling the pool metadata object for updates. Fixes: https://tracker.ceph.com/issues/46694 Signed-off-by: Jason Dillaman (cherry picked from commit f45df9fe786e8057c491c082e840483759d67e9e) Conflicts: src/common/options.cc - "rbd_quiesce_notification_attempts", "rbd_default_snapshot_quiesce_mode", and "rbd_plugins" options have not been backported to Octopus, yet --- diff --git a/src/common/options.cc b/src/common/options.cc index 3dac60ea5e36..55efb7c5f730 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -7467,6 +7467,12 @@ static std::vector