]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: permit mirroring to be enabled upon image creation
authorJason Dillaman <dillaman@redhat.com>
Mon, 20 Apr 2020 21:04:02 +0000 (17:04 -0400)
committerNathan Cutler <ncutler@suse.com>
Wed, 29 Apr 2020 12:06:58 +0000 (14:06 +0200)
commit1e4320a98d6e51bf9be820bb43ddb34b77791fa0
tree0870e1fb0b784c9cff40a1911ff9cc1ce501a652
parentbef680dca136c009fe444918837698116a41334d
librbd: permit mirroring to be enabled upon image creation

The librbd create API's ImageOptions parameter now supports passing
the mirror image mode.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 37f6fa8fe95729af845100e28df8b8e0668c2270)
src/include/rbd/librbd.h
src/librbd/image/CreateRequest.cc
src/librbd/image/CreateRequest.h
src/librbd/internal.cc
src/librbd/mirror/EnableRequest.cc
src/test/librbd/test_librbd.cc