]> 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 49299/head
authorDivyansh Kamboj <dkamboj@redhat.com>
Wed, 7 Dec 2022 10:25:38 +0000 (15:55 +0530)
committerDivyansh Kamboj <dkamboj@redhat.com>
Mon, 20 Feb 2023 08:01:49 +0000 (13:31 +0530)
commit9b9f18a65d2430ddcf32cbf85566b0223be91758
tree8bbc878e641336f3f71752c64a5597d586e0145f
parent8cd83a6253789e5540130a10d4801b2a8f6eafa9
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>
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.cc
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.h