]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: move pool quota health warnings into PGMap
authorSage Weil <sage@redhat.com>
Fri, 9 Jun 2017 21:02:08 +0000 (17:02 -0400)
committerSage Weil <sage@redhat.com>
Wed, 12 Jul 2017 16:51:30 +0000 (12:51 -0400)
commit32d1fd3f7e3101204351a45ccfe78baa9e5a5e68
treea331eb5724c10c3f27b404bf92aef2a0c53ac4eb
parentb932d7f883116cebe977576b362a4b5dea1f0c5e
mon: move pool quota health warnings into PGMap

This puts them on the mgr in a context where they can respond to both
osdmap and pgmap updates, and removes one more dependency on pgservice
in osdmon.

We keep the pool quota FULL warning since that is a function of OSDMap
state (the pool flag... not actual usage).

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc
src/mon/OSDMonitor.h
src/mon/PGMap.cc