]> 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, 19 Aug 2020 20:23:52 +0000 (16:23 -0400)
commita9d4395c6f384ead4ae63312010bc1f9688e2597
tree887772ef675612caa6b944428c2d44d0e3e17a04
parent903bccf1bbf0268450df26247870dbea38188440
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

(cherry picked from commit c830365a8a243bd4976a682af1bf8d768924eaff)

Conflicts:
src/librbd/ConfigWatcher.cc: image_lock -> md_lock
src/test/librbd/mock/MockImageState.h: trivial resolution
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]