]> git.apps.os.sepia.ceph.com Git - ceph-ci.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)
committerJason Dillaman <dillaman@redhat.com>
Thu, 23 Apr 2020 17:19:49 +0000 (13:19 -0400)
commit37f6fa8fe95729af845100e28df8b8e0668c2270
tree6285d86710d9461b05c938d4b6475762dae852de
parent931c9f0fd9332136466a8d81c9708b86f597f4be
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>
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