From: Sage Weil Date: Wed, 5 Jul 2017 16:06:16 +0000 (-0400) Subject: osd/OSDMap: rename a few health checks X-Git-Tag: v12.1.1~58^2~31 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a23b7d7ee80ff7eeac2bd0a4fe56e312b734b268;p=ceph.git osd/OSDMap: rename a few health checks Signed-off-by: Sage Weil --- diff --git a/src/osd/OSDMap.cc b/src/osd/OSDMap.cc index 080c2f3dbca4..1bc20e7a48e6 100644 --- a/src/osd/OSDMap.cc +++ b/src/osd/OSDMap.cc @@ -4542,7 +4542,7 @@ void OSDMap::check_health(health_check_map_t *checks) const } } - // OSD_CACHE_NO_HIT_SET + // CACHE_POOL_NO_HIT_SET if (g_conf->mon_warn_on_cache_pools_without_hit_sets) { list detail; for (map::const_iterator p = pools.begin(); @@ -4561,7 +4561,7 @@ void OSDMap::check_health(health_check_map_t *checks) const if (!detail.empty()) { ostringstream ss; ss << detail.size() << " cache pools are missing hit_sets"; - auto& d = checks->add("OSD_CACHE_NO_HIT_SET", HEALTH_WARN, ss.str()); + auto& d = checks->add("CACHE_POOL_NO_HIT_SET", HEALTH_WARN, ss.str()); d.detail.swap(detail); } }