]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: generic object watcher and mirroring watcher
authorJason Dillaman <dillaman@redhat.com>
Tue, 29 Mar 2016 03:13:17 +0000 (23:13 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 30 Mar 2016 21:00:31 +0000 (17:00 -0400)
commit3145109fd50f1b8b6c260b7bf311c11acf6c60fc
tree4797b09e53b11a830b6f04fc76a550b75d7d2be5
parent6f8596fc01e85dd2acf15f0f3289ec79255fd103
librbd: generic object watcher and mirroring watcher

The ObjectWatcher can handle generic watch and recovery of
RADOS objects.  The MirroringWatcher will handle updates
to the RBD mirroring object.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/Makefile.am
src/librbd/MirroringWatcher.cc [new file with mode: 0644]
src/librbd/MirroringWatcher.h [new file with mode: 0644]
src/librbd/ObjectWatcher.cc [new file with mode: 0644]
src/librbd/ObjectWatcher.h [new file with mode: 0644]
src/librbd/mirroring_watcher/Types.cc [new file with mode: 0644]
src/librbd/mirroring_watcher/Types.h [new file with mode: 0644]
src/test/Makefile-client.am
src/test/librados_test_stub/MockTestMemIoCtxImpl.h
src/test/librbd/test_mock_ObjectWatcher.cc [new file with mode: 0644]