]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: send health-checks to mgr
authorKefu Chai <kchai@redhat.com>
Mon, 23 Oct 2017 04:29:31 +0000 (12:29 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 31 Jan 2018 16:41:43 +0000 (00:41 +0800)
commitbb5ee06baac34aff59578575e14fe2a6bb6ae0ab
treeb03c225580461881a6efcb45b0b76a1d7b5d429a
parent69e8a0ab28c53303030423ac795577564827dbaa
osd: send health-checks to mgr

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit f4b74125e44fe78154fb377fa06fc08b3325859d)

Conflicts:
src/osd/OSD.cc
src/osd/OSD.h: only the changes related to reporting
pending-creating-pgs are cherry-picked. because we want to minimize the
impact to luminous. and to remove the slow ops from cluster log is not
in the scope of this backport. also, with_unique_lock was introduced
after luminous is branched, so use the plain lock_guard<> instead.
src/osd/OSDHealthMetric.h: because denc.h does not support
denc of enum types in luminous. so we need to case from/to osd_metric
when necessary.
src/osd/OSD.cc
src/osd/OSD.h
src/osd/OSDHealthMetric.h [new file with mode: 0644]