]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSDMap: include pg_temp count in summary 3629/head
authorSage Weil <sage@redhat.com>
Thu, 12 Feb 2015 22:16:53 +0000 (14:16 -0800)
committerSage Weil <sage@redhat.com>
Thu, 12 Feb 2015 22:16:53 +0000 (14:16 -0800)
commitdb06582a067439a57e0d7f0da2193fc479736200
tree91bc7e101dd27abe8a49d40280840fa72a7bfca2
parentefccb758cb9d8dfb8b7bff9760b2bb0ae3330330
osd/OSDMap: include pg_temp count in summary

It is useful to know how big the pg_temp map is.  Strictly speaking
this is part of the OSDMap so I'm including it here.  It looks like
this:

     osdmap e25: 3 osds: 3 up, 3 in; 1 remapped pgs

It might be more user-friendly to put it in a line with the pgmap
somewhere (where other pg counts are included), but it doesn't quite
fit there either.  So sticking with where it lives in the data
structure!

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