From f198ba81cc647192b5b0dd0969c77a973f1cb5aa Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 25 Dec 2016 13:21:08 -0500 Subject: [PATCH] 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 --- src/mon/PGMap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mon/PGMap.cc b/src/mon/PGMap.cc index 85216fbc6aed3..72d39bcda264d 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 -- 2.39.5