]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: update hidden global config when setting pool config override 36638/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 28 Jul 2020 01:14:18 +0000 (21:14 -0400)
committerNathan Cutler <ncutler@suse.com>
Fri, 14 Aug 2020 21:26:04 +0000 (23:26 +0200)
commitea2dec49276c5ea79980d184d97b6a410ee1dec5
treebbb0e3a0ea297dcd3a25e3c07bc45bfd53baec2c
parentada201d460d37d68275ed4b35f6e3ec293f247fc
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 <dillaman@redhat.com>
(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
src/common/options.cc
src/librbd/api/Config.cc
src/librbd/api/PoolMetadata.cc
src/test/librados_test_stub/TestRadosClient.cc