]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: initial config watcher implementation
authorJason Dillaman <dillaman@redhat.com>
Mon, 27 Jul 2020 19:31:09 +0000 (15:31 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 29 Jul 2020 12:45:51 +0000 (08:45 -0400)
commit54819a1aa95fe1be8b8ef44f8417e3fe82d9ec89
tree8d99a3f4a02b254973b7839391a570b7749b114f
parentc7104d18e190f3718ec1625376f8c63676096efa
librbd: initial config watcher implementation

The config watcher will initially observe all "rbd_" configuration
updates received from the MON that have not been locally overridden
at the pool and/or image level.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/CMakeLists.txt
src/librbd/ConfigWatcher.cc [new file with mode: 0644]
src/librbd/ConfigWatcher.h [new file with mode: 0644]
src/test/librbd/CMakeLists.txt
src/test/librbd/mock/MockImageCtx.h
src/test/librbd/mock/MockImageState.h
src/test/librbd/test_mock_ConfigWatcher.cc [new file with mode: 0644]