]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: tweak create non-primary mirror snapshot request
authorJason Dillaman <dillaman@redhat.com>
Fri, 7 Feb 2020 20:06:22 +0000 (15:06 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 19 Feb 2020 15:36:40 +0000 (10:36 -0500)
commit89e37732f43e17c0163900529c3363f5400c3828
treee73ef2c21a638c88787c4e9ae0e9f8a8f0b3f760
parent55322c49bd7ce51454aaa12a550c09041292e442
librbd: tweak create non-primary mirror snapshot request

The replayer will need to pass in the demotion state as well as the
snapshot sequences for the copied snapshots.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/mirror/snapshot/CreateNonPrimaryRequest.cc
src/librbd/mirror/snapshot/CreateNonPrimaryRequest.h
src/librbd/mirror/snapshot/PromoteRequest.cc
src/test/librbd/mirror/snapshot/test_mock_CreateNonPrimaryRequest.cc
src/test/librbd/mirror/snapshot/test_mock_PromoteRequest.cc