]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd: keep a local copy of pg_stat
authorKefu Chai <kchai@redhat.com>
Thu, 28 Jan 2021 05:27:40 +0000 (13:27 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 28 Jan 2021 12:56:54 +0000 (20:56 +0800)
commit5ed5864460216650125d3c6ccf4abac2c1f5d316
tree88918b5c85c808c22d054d419c3993e17b7342fe
parent8194b2d514b413ea0dafd6d67e9fa1daf9dd19ad
crimson/osd: keep a local copy of pg_stat

so we don't need to prepare it every time when sending pg stats to
mgr.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/pg.cc
src/crimson/osd/pg.h