]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: send pg_stat with correct seq 36406/head
authorKefu Chai <kchai@redhat.com>
Sat, 1 Aug 2020 16:28:36 +0000 (00:28 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 1 Aug 2020 16:35:58 +0000 (00:35 +0800)
commit6a20c7ffddc5e6fff1c4bd6296167c1962130d0f
treede224eda732003be69d6164ea7fd186b18e34710
parent7b258091b46b165f830dbb262706edecebfe8f7c
crimson/osd: send pg_stat with correct seq

* set the osd_stat in pg_stat message sent to mgr, otherwise the seq id
  in the message would be always 0.
* return the seq id composed of up_epoch and osd_stat_seq when serving
  "flush_pg_stats" tell command.

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