]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: add non-primary global image id to mirror enable
authorJason Dillaman <dillaman@redhat.com>
Mon, 20 Apr 2020 22:33:32 +0000 (18:33 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 23 Apr 2020 17:19:49 +0000 (13:19 -0400)
commita90042b2546bdaa056610bd10d7dae0f5e5da18e
tree42a2b27ba6a2b7eb635f89a0b5a7f4eae94bfaab
parent37f6fa8fe95729af845100e28df8b8e0668c2270
librbd: add non-primary global image id to mirror enable

The constructor that took an ImageCtx did not support passing the
non-primary global image id and instead defaulted to an empty string.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/api/Migration.cc
src/librbd/api/Mirror.cc
src/librbd/image/CloneRequest.cc
src/librbd/mirror/EnableRequest.h
src/librbd/operation/EnableFeaturesRequest.cc
src/test/librbd/image/test_mock_CloneRequest.cc
src/test/librbd/operation/test_mock_EnableFeaturesRequest.cc