From: Sage Weil Date: Sun, 25 Dec 2016 18:21:08 +0000 (-0500) Subject: mon/PGMap: fix alignment of 'cache io' in ceph -s output X-Git-Tag: v12.0.0~342^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f198ba81cc647192b5b0dd0969c77a973f1cb5aa;p=ceph.git mon/PGMap: fix alignment of 'cache io' in ceph -s output Currently it looks like client io 3508 B/s wr, 0 op/s rd, 5 op/s wr cache io 0 op/s promote but should be client io 3508 B/s wr, 0 op/s rd, 5 op/s wr cache io 0 op/s promote Signed-off-by: Sage Weil --- diff --git a/src/mon/PGMap.cc b/src/mon/PGMap.cc index 85216fbc6ae..72d39bcda26 100644 --- a/src/mon/PGMap.cc +++ b/src/mon/PGMap.cc @@ -1641,7 +1641,7 @@ void PGMap::print_summary(Formatter *f, ostream *out) const overall_cache_io_rate_summary(f, &ssr); if (!f && ssr.str().length()) - *out << " cache io " << ssr.str() << "\n"; + *out << " cache io " << ssr.str() << "\n"; } void PGMap::print_oneline_summary(Formatter *f, ostream *out) const