]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd-mirror: add perf counters to snapshot replayer
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>
Fri, 28 May 2021 16:51:52 +0000 (18:51 +0200)
commitcf9317b58f966c64554f46092fc4162b5e8fd5fb
tree2e12339564c7828ba9d444b08826445b13fd88b1
parent26fbbefa827cfab0837296df2c8f5d1cc88331ae
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>
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