crimson/osd/pg: update info.stats
authorKefu Chai <kchai@redhat.com>
Fri, 8 Mar 2019 03:45:20 +0000 (11:45 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 22 Mar 2019 05:24:15 +0000 (13:24 +0800)
commit169c5e3b3c046d72fcaa7a07a90f305d82cadea1
tree938586d4fffc8e2937d665f6ef560fc9ee8d70bb
parent34570c9427d6c1b909ed9b1f6fcbf73370ef828e
crimson/osd/pg: update info.stats

PG.info.stats is sent to mgr periodically for PG stats reporting,
also, it is sent to peer OSD in MOSDPGLog message when PG performs
peering. we need to keep it updated.

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