]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: pass bit-flags to image::CreateRequest
authorJason Dillaman <dillaman@redhat.com>
Mon, 20 Apr 2020 19:23:53 +0000 (15:23 -0400)
committerNathan Cutler <ncutler@suse.com>
Wed, 29 Apr 2020 12:06:57 +0000 (14:06 +0200)
commit126d720f0c98c4e6b47c78e79388ed6c2ba4c65a
tree2325cd7cd84dc2cfd5990cb2a3666f3560f82755
parent052558e62edec48a471c6f874a532e8427764365
librbd: pass bit-flags to image::CreateRequest

The current boolean for skip enable mirror will be able to be changed to
a tri-state to force enable mirror (in addition to the current auto-enable
if in pool-mode).

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit b0c3ca63c2dff11c823d0d4456a2a07f1594fb9f)
src/librbd/api/Migration.cc
src/librbd/image/CloneRequest.cc
src/librbd/image/CreateRequest.cc
src/librbd/image/CreateRequest.h
src/librbd/image/Types.h [new file with mode: 0644]
src/librbd/internal.cc
src/tools/rbd_mirror/image_replayer/CreateImageRequest.cc