]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: relax "is parent mirrored" check when enabling mirroring for pool
authorMykola Golub <mgolub@mirantis.com>
Thu, 2 Mar 2017 16:18:18 +0000 (17:18 +0100)
committerNathan Cutler <ncutler@suse.com>
Tue, 4 Jul 2017 20:50:30 +0000 (22:50 +0200)
commit474d504dd67378588d2dd243b06b844737ab64d5
treeb63bfb91fdffe41d983b1906929096eaa7f27042
parent44c116dfd6f519538b6c1401e3c3bc283d31b78a
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>
(cherry picked from commit fe31bca22f90ce02f461d6421a4f66539db888d3)
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