]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: relax "is parent mirrored" check when enabling mirroring for pool 13752/head
authorMykola Golub <mgolub@mirantis.com>
Thu, 2 Mar 2017 16:18:18 +0000 (17:18 +0100)
committerMykola Golub <mgolub@mirantis.com>
Tue, 7 Mar 2017 16:16:09 +0000 (17:16 +0100)
commitfe31bca22f90ce02f461d6421a4f66539db888d3
treeca7200c0ea52d83456daf9846db3283071025dd8
parent3f5269d8b5ddfe4694af452103f0a811fcf76bb4
librbd: relax "is parent mirrored" check when enabling mirroring for pool

If the parent is in the same pool and has the journaling feature enabled
we can assume the mirroring will eventually be enabled for it.

Fixes: http://tracker.ceph.com/issues/19130
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
src/librbd/internal.cc
src/librbd/internal.h
src/librbd/librbd.cc
src/test/librbd/test_librbd.cc
src/test/rbd_mirror/test_ImageReplayer.cc