]> git-server-git.apps.pok.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)
committerNathan Cutler <ncutler@suse.com>
Fri, 14 Aug 2020 21:22:44 +0000 (23:22 +0200)
commitc830365a8a243bd4976a682af1bf8d768924eaff
tree256657dcab570438b1a0de902c5801561c2754bc
parent652952f2d74df907637f03eff542a56e02a1ec8c
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>
(cherry picked from commit 54819a1aa95fe1be8b8ef44f8417e3fe82d9ec89)

Conflicts:
src/test/librbd/mock/MockImageState.h
- once again, I don't see why git flagged this as a conflict
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]