]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: add information about the last snapshot sync to image status 50265/head
authorDivyansh Kamboj <dkamboj@redhat.com>
Wed, 7 Dec 2022 10:25:38 +0000 (15:55 +0530)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 26 Feb 2023 16:57:23 +0000 (17:57 +0100)
commit0d84a57d7562247363ba200369ae3fba68ce7161
treeed6197efef847ad9ce68401608d3c87c870fcf43
parentec766fd685df9765d326a2c0f78478083dc6213e
rbd-mirror: add information about the last snapshot sync to image status

this commit adds fields for time taken to sync and bytes in the last
snapshot to the mirror image status command.

Fixes: https://tracker.ceph.com/issues/58755
Signed-off-by: Divyansh Kamboj <dkamboj@redhat.com>
(cherry picked from commit 9b9f18a65d2430ddcf32cbf85566b0223be91758)
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.cc
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.h