]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: object copy should always reference valid snapshots
authorJason Dillaman <dillaman@redhat.com>
Tue, 21 Feb 2017 18:09:39 +0000 (13:09 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 21 Feb 2017 23:42:54 +0000 (18:42 -0500)
commit9a91efc3047963364944f8be91cee8e8f6afc49a
treee4bd7480719c597d3514b4074ac56e15d716382e
parent0c181527c0e151784a0f7c466aaa70b0772f91b1
rbd-mirror: object copy should always reference valid snapshots

If a remote snapshot is deleted while an image sync is in-progress,
associate the read request against the most recent, valid remote
snapshot for a given snapshot object clone.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librados/snap_set_diff.cc
src/librados/snap_set_diff.h
src/librbd/DiffIterate.cc
src/tools/rbd_mirror/image_sync/ObjectCopyRequest.cc
src/tools/rbd_mirror/image_sync/ObjectCopyRequest.h