]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
PGMap: fix dump header fields
authorJosh Durgin <josh.durgin@dreamhost.com>
Fri, 10 Feb 2012 01:52:07 +0000 (17:52 -0800)
committerJosh Durgin <josh.durgin@dreamhost.com>
Fri, 17 Feb 2012 22:18:52 +0000 (14:18 -0800)
kilobytes were removed from the output by
625b0b0291543baf424fb3bae4c7a36d280df91e, and last_scrub_stamp was
added by 988e350d35bba9591cd0ca5b58ce9ecb8f8ddd80.

Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
src/mon/PGMap.cc

index 379a6e78a89107dabea015eca4c30935409ecee3..04c5a8d51311c9a81a10c92790ad685c2e24f07f 100644 (file)
@@ -421,7 +421,7 @@ void PGMap::dump(ostream& ss) const
   ss << "last_pg_scan " << last_pg_scan << std::endl;
   ss << "full_ratio " << full_ratio << std::endl;
   ss << "nearfull_ratio " << nearfull_ratio << std::endl;
-  ss << "pg_stat\tobjects\tmip\tdegr\tunf\tkb\tbytes\tlog\tdisklog\tstate\tv\treported\tup\tacting\tlast_scrub" << std::endl;
+  ss << "pg_stat\tobjects\tmip\tdegr\tunf\tbytes\tlog\tdisklog\tstate\tv\treported\tup\tacting\tlast_scrub\tscrub_stamp" << std::endl;
   for (hash_map<pg_t,pg_stat_t>::const_iterator i = pg_stat.begin();
        i != pg_stat.end(); ++i) {
     const pg_stat_t &st(i->second);