]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: permit mirroring to be enabled upon image cloning
authorJason Dillaman <dillaman@redhat.com>
Mon, 20 Apr 2020 22:50:43 +0000 (18:50 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 23 Apr 2020 17:19:49 +0000 (13:19 -0400)
commit407f2e5c172cf5bef49a28b3156099487e7c2bf6
treebc7eba9272b8a6143157590271e60543673cb18f
parenta90042b2546bdaa056610bd10d7dae0f5e5da18e
librbd: permit mirroring to be enabled upon image cloning

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

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