]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/PGMapStatService: various updates
authorKefu Chai <kchai@redhat.com>
Tue, 16 May 2017 07:30:16 +0000 (15:30 +0800)
committerSage Weil <sage@redhat.com>
Fri, 2 Jun 2017 17:02:10 +0000 (13:02 -0400)
commit1c7b4be209fe755cc4122fb550cc1feb9fcba916
tree0aca2706a835bd36a26968efeccf452ff411ad2d
parentba5c5f3f15844bd51a6c924870b2cfe5fe0d6dd2
mon/PGMapStatService: various updates

* add override specifier
* s/parent/pgmap/
* remove unnecessary forward declarations
* make `pg_map` and `pgservice` private member variables.
* formatting changes: wrap at 80, for example.
* define maybe_add_creating_pgs() instead of get_pg_stat()
* use unique_ptr<PGMapStatService> for holding the pointer.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mon/OSDMonitor.cc
src/mon/PGMonitor.cc
src/mon/PGMonitor.h