]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: add information about the last snapshot sync to image status 50266/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:57 +0000 (17:57 +0100)
commitadb62d372e00a347a64ac198c28e1ffc7659b899
treec8a9a91f019bdfacdbc9c3322bf1ce4bcfad18c1
parenta35b79f9e3f08863623c5e0e9eae87875bc68b66
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