]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/PGMap: new check_osd_map that takes a OSDMap& const
authorSage Weil <sage@redhat.com>
Fri, 19 May 2017 21:01:22 +0000 (17:01 -0400)
committerSage Weil <sage@redhat.com>
Fri, 2 Jun 2017 17:02:50 +0000 (13:02 -0400)
commit90d45c1dea544537f20664eaa1e0e4a26db28f28
tree40af160eb2a2d96e952c685517804a9b7d277df2
parent87a993a93f5b9d85d0fe4be7140befff49894ac4
mon/PGMap: new check_osd_map that takes a OSDMap& const

The previous version takes an Incremental and requires that we see
every single consecutive map in the history.  This version is mgr-friendly
and just takes the latest OSDMap.  It's a bit simpler too because it
ignores the full/nearfull (legacy preluminous) and last_osd_report.

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