]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: enable mirroring for non-primary images w/o journaling
authorJason Dillaman <dillaman@redhat.com>
Tue, 10 Mar 2020 02:26:13 +0000 (22:26 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 10 Mar 2020 23:23:02 +0000 (19:23 -0400)
commitefcc8d14612487b5426fa5ab6f8f502760c4e697
tree0b821d2cbfdcb8f553433d347776aad4a7828124
parenta594e543965e413376d2f1892bec172dadc589e4
librbd: enable mirroring for non-primary images w/o journaling

The state machine was incorrectly skipping over the mirror enable
step for non-primary images when the journaling feature bit was not
enabled.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/image/CloneRequest.cc
src/librbd/image/CreateRequest.cc
src/test/librbd/image/test_mock_CloneRequest.cc