]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: skip snapshot image sync if mirror snapshot is marked clean 34810/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 22 Apr 2020 17:51:58 +0000 (13:51 -0400)
committerNathan Cutler <ncutler@suse.com>
Wed, 29 Apr 2020 12:06:58 +0000 (14:06 +0200)
commit2e59fd8ab25d2f808cf4092d15c7d6782a9324e2
tree4aa82ddea2e44ebf84c9eb227e46e457b6502e59
parenta037d238c24946446f473f0c7a6e324166919343
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>
(cherry picked from commit fbede28d1a7713248765cf91136bb19b3b3fdac2)
src/test/rbd_mirror/image_replayer/snapshot/test_mock_Replayer.cc
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.cc