From 7fc13c9d6b9a4962d7640240416105d8f558d600 Mon Sep 17 00:00:00 2001 From: renhwztetecs Date: Tue, 21 Jul 2015 18:55:00 +0800 Subject: [PATCH] Update OSDMonitor.cc OSDMonitor::get_pools_health(), s/objects/bytes/ Fixes: #12402 Signed-off-by: ren.huanwen@zte.com.cn --- src/mon/OSDMonitor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mon/OSDMonitor.cc b/src/mon/OSDMonitor.cc index 05d603501b718..ba802200f3fb8 100644 --- a/src/mon/OSDMonitor.cc +++ b/src/mon/OSDMonitor.cc @@ -3941,7 +3941,7 @@ void OSDMonitor::get_pools_health( } else if (warn_threshold > 0 && sum.num_bytes >= pool.quota_max_bytes*warn_threshold) { ss << "pool '" << pool_name - << "' has " << si_t(sum.num_bytes) << " objects" + << "' has " << si_t(sum.num_bytes) << " bytes" << " (max " << si_t(pool.quota_max_bytes) << ")"; status = HEALTH_WARN; } -- 2.47.3