]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSDMap: include pg_temp count in summary
authorSage Weil <sage@redhat.com>
Thu, 12 Feb 2015 22:16:53 +0000 (14:16 -0800)
committerSage Weil <sage@redhat.com>
Thu, 19 Feb 2015 19:10:12 +0000 (11:10 -0800)
commitc4632427e26d63ba78e1c3653c781ad97e613b8a
treee6b8d7906dbe511b880f5f2aeeff55b3d250d356
parentd999ccb263a99bb4b4730040cb8819cfcdb40cbe
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>
(cherry picked from commit db06582a067439a57e0d7f0da2193fc479736200)
src/osd/OSDMap.cc
src/osd/OSDMap.h