]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: replayer should only handle a single pool
authorJason Dillaman <dillaman@redhat.com>
Fri, 27 May 2016 03:26:20 +0000 (23:26 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 27 May 2016 04:40:13 +0000 (00:40 -0400)
commitc5a8b780edeb9b62a601f0718459837f3d66e63d
tree46f32c0504c3af76554ec283b9a48a1f99695f36
parent020f0282a0771c0d321732a62f53cee10a193715
rbd-mirror: replayer should only handle a single pool

The pool watcher now only needs to scan a single pool for
its associated replayer since a peer is inherently tied to
a single pool.

Fixes: http://tracker.ceph.com/issues/16045
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/rbd_mirror/test_PoolWatcher.cc
src/tools/rbd_mirror/Mirror.cc
src/tools/rbd_mirror/PoolWatcher.cc
src/tools/rbd_mirror/PoolWatcher.h
src/tools/rbd_mirror/Replayer.cc
src/tools/rbd_mirror/Replayer.h