]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: add perf counters to snapshot replayer 42987/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:53 +0000 (09:44 +0200)
commit433d984aee058cad953077651b3ad7f58e224722
treeae0e542260800bf07c3574e9b6ba8ca83cb7b4a9
parent929fab5a4c649ad783b02716cc2bae49741a438f
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