From: Greg Farnum Date: Thu, 19 Dec 2013 01:53:28 +0000 (-0800) Subject: OSDMap: expose the primary_temp in print() X-Git-Tag: v0.78~329^2~9 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a2460395533eeaac83cfdcb955c39381dc599d47;p=ceph.git OSDMap: expose the primary_temp in print() Signed-off-by: Greg Farnum --- diff --git a/src/osd/OSDMap.cc b/src/osd/OSDMap.cc index da1cd1886c3c..cf3e53ef2835 100644 --- a/src/osd/OSDMap.cc +++ b/src/osd/OSDMap.cc @@ -1924,6 +1924,11 @@ void OSDMap::print(ostream& out) const ++p) out << "pg_temp " << p->first << " " << p->second << "\n"; + for (map::const_iterator p = primary_temp->begin(); + p != primary_temp->end(); + ++p) + out << "primary_temp " << p->first << " " << p->second << "\n"; + for (hash_map::const_iterator p = blacklist.begin(); p != blacklist.end(); ++p)