]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/PGMap: count 'unknown' pgs
authorSage Weil <sage@redhat.com>
Tue, 23 May 2017 20:35:30 +0000 (16:35 -0400)
committerSage Weil <sage@redhat.com>
Fri, 2 Jun 2017 17:06:46 +0000 (13:06 -0400)
commit2f881dbf2c81d73e531d64741acf1a0f9b5b19a5
tree8ed2cdf18a20c786f275db36055a0ec1a3dbab41
parent15f823b43ed3a525cc446d8b885d61f932891544
mon/PGMap: count 'unknown' pgs

Also, count "not active" (inactive) pgs instead of active so that we
list "bad" things consistently, and so that 'inactive' is a separate
bucket of pgs than the 'unknown' ones.

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