]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: add snapshot-based replay performance metrics
authorJason Dillaman <dillaman@redhat.com>
Fri, 3 Apr 2020 17:11:27 +0000 (13:11 -0400)
committerNathan Cutler <ncutler@suse.com>
Tue, 28 Apr 2020 17:52:07 +0000 (19:52 +0200)
commitc637e3120adcfa482400679bf20a840f0ec12c1b
treea5982ef2791236fd11ddeeb43391d69d208bfa25
parent24a43b68fa5d41c1212ceee01e17f9fa4da359d2
rbd-mirror: add snapshot-based replay performance metrics

The mirror image status for replaying snapshot-based images now includes
bytes per second and per snapshot, in addition to an estimated number of
seconds until the image is fully synced.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 03aa081435abf12429fbe98b7ff1095a4b37d830)
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.cc
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.h