]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: pass bytes-read statistics from deep-copy through handler
authorJason Dillaman <dillaman@redhat.com>
Fri, 3 Apr 2020 19:24:14 +0000 (15:24 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 3 Apr 2020 19:24:14 +0000 (15:24 -0400)
commit0b6cbdeb9deec8184a43f1b7533c8316b22b9f5d
tree7af33657d4a0c6b772153811e2376b8c8136fb6b
parentc7d6e762d19284a05b88daba6c27cbbdbdb210e9
librbd: pass bytes-read statistics from deep-copy through handler

These simple stats will be utilized by rbd-mirror to compute throughput
metrics for snapshot-based mirroring.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/deep_copy/Handler.h
src/librbd/deep_copy/ImageCopyRequest.cc
src/librbd/deep_copy/ObjectCopyRequest.cc
src/librbd/deep_copy/ObjectCopyRequest.h
src/librbd/io/CopyupRequest.cc
src/librbd/operation/MigrateRequest.cc
src/test/librbd/deep_copy/test_mock_ImageCopyRequest.cc
src/test/librbd/deep_copy/test_mock_ObjectCopyRequest.cc
src/test/librbd/io/test_mock_CopyupRequest.cc
src/tools/rbd_mirror/image_replayer/snapshot/Replayer.cc