]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: move creating_pgs and reweight_by_utilization into new MonPGStatService
authorGreg Farnum <gfarnum@redhat.com>
Fri, 9 Jun 2017 22:42:47 +0000 (15:42 -0700)
committerNathan Cutler <ncutler@suse.com>
Wed, 14 Jun 2017 07:35:47 +0000 (09:35 +0200)
commit0d571a2ba80c4e2e03ebbf92e9564a341bd56f8f
tree570b59aada50e2ab2fc05c94a94ddefde53e69f7
parentd323682eee659d7908c008c6d5c6d3eb94e342ed
mon: move creating_pgs and reweight_by_utilization into new MonPGStatService

Use that throughout the monitor code, so that we can use the
PGStatService elsewhere.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit 9812319616056a92750d3c89151445353f0fb501)
src/mon/MgrMonitor.h
src/mon/MgrStatMonitor.cc
src/mon/MgrStatMonitor.h
src/mon/Monitor.h
src/mon/PGMonitor.cc
src/mon/PGMonitor.h
src/mon/PGStatService.h