]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: support resync requests for snapshot-based mirrored images
authorJason Dillaman <dillaman@redhat.com>
Sat, 22 Feb 2020 00:13:18 +0000 (19:13 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 25 Feb 2020 12:36:26 +0000 (07:36 -0500)
commitee2fb48503e7c7a6c17b6ca681a78a3fc1924a20
tree95a7fcf486fb1db87a16089e523f95a446ee2105
parent9e28b07f15281d49e9862598718b62c1e1abe8d7
librbd: support resync requests for snapshot-based mirrored images

The image resync API now detects the current mirroring mode and stores
the resync request either in the image-meta for snapshot-based mirroring
or in the journal for journal-based mirroring.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/api/Mirror.cc