]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephfs-mirror: transfer snapshot diffs whenever possible
authorVenky Shankar <vshankar@redhat.com>
Wed, 17 Mar 2021 12:23:39 +0000 (08:23 -0400)
committerVenky Shankar <vshankar@redhat.com>
Tue, 25 May 2021 12:44:44 +0000 (08:44 -0400)
commit5c1ed6db327b24bce15d3a5ef2e4d0b94efe87d5
tree6ff6c754009ab737c3caa2cef734552392976d21
parentcd14bb146191d61bc2306041f9e54c34341340c8
cephfs-mirror: transfer snapshot diffs whenever possible

Use incremental transfer when the data on the remote file system
for a given directory root is belongs to the snapshot which can
be used for local comparison.

Files are chosen based on mtime changes.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
src/tools/cephfs_mirror/PeerReplayer.cc
src/tools/cephfs_mirror/PeerReplayer.h