]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: add perf counters to snapshot replayer 42986/head
authorArthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Thu, 27 May 2021 09:44:45 +0000 (11:44 +0200)
committerArthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Tue, 31 Aug 2021 07:44:02 +0000 (09:44 +0200)
commitb2c3a8f6ed291397acaaeda5d5577eaa942a0072
tree8afb7194e3d3d4a6cce8be1f49f8f9a7d8d985ca
parent8b7c3fee571cce43bfec1dd1c867addf0af1de65
rbd-mirror: add perf counters to snapshot replayer

Add bytes replayed and statistics about number of snapshots synchronized
and how long it took to do so.

Fixes: https://tracker.ceph.com/issues/50973
Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
(cherry picked from commit cf9317b58f966c64554f46092fc4162b5e8fd5fb)
src/test/rbd_mirror/image_replayer/snapshot/test_mock_Replayer.cc
src/test/rbd_mirror/test_main.cc
src/tools/rbd_mirror/ImageReplayer.cc
src/tools/rbd_mirror/Types.h
src/tools/rbd_mirror/image_replayer/journal/Replayer.cc
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.cc
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.h
src/tools/rbd_mirror/main.cc