]> git-server-git.apps.pok.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>
Tue, 31 May 2016 15:56:29 +0000 (11:56 -0400)
commite4547c036ef641d48ab03808f59e035b56136745
treed4d77e3e49fc553860f897309b4093a8ad23e0b6
parent6fc5328e93b7d005479f925cca1268e7e7e10234
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>
(cherry picked from commit c5a8b780edeb9b62a601f0718459837f3d66e63d)
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