]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: skip snapshot image sync if mirror snapshot is marked clean 34697/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 22 Apr 2020 17:51:58 +0000 (13:51 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 23 Apr 2020 17:19:49 +0000 (13:19 -0400)
commitfbede28d1a7713248765cf91136bb19b3b3fdac2
treed0354488d9efcced1fc4277a7fdefbb0723730bc
parentea64ba5a6f2a73e3440244c0b358b948647670c5
rbd-mirror: skip snapshot image sync if mirror snapshot is marked clean

This is currently only utilized for the case where a newly created image
has mirroring enabled at time of creation, but it could be expanded in the
future if we track writes.

Fixes: https://tracker.ceph.com/issues/44596
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/test/rbd_mirror/image_replayer/snapshot/test_mock_Replayer.cc
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.cc