]> 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)
committerJason Dillaman <dillaman@redhat.com>
Mon, 20 Apr 2020 22:18:49 +0000 (18:18 -0400)
commitb0c3ca63c2dff11c823d0d4456a2a07f1594fb9f
tree3b60df26c8e20eb6c9eccc953026d8257e6b968d
parent94e39db4e803cf77a03190957871a213c9ced2ad
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>
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