]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/OSDMap: rename a few health checks
authorSage Weil <sage@redhat.com>
Wed, 5 Jul 2017 16:06:16 +0000 (12:06 -0400)
committerSage Weil <sage@redhat.com>
Wed, 12 Jul 2017 16:52:02 +0000 (12:52 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSDMap.cc

index 080c2f3dbca422883be02b58514b3384dfd2ab71..1bc20e7a48e61f293bd5c3686635e4b6243d0a29 100644 (file)
@@ -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<string> detail;
     for (map<int64_t, pg_pool_t>::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);
     }
   }