]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mon/PGmap: Add warn description for bluestore fragmentation
authorMichael J. Kidd <linuxkidd@gmail.com>
Fri, 11 Jul 2025 14:06:30 +0000 (10:06 -0400)
committerMichael J. Kidd <linuxkidd@gmail.com>
Fri, 11 Jul 2025 14:12:47 +0000 (10:12 -0400)
Add a user friendly description for
BLUESTORE_FREE_FRAGMENTATION warning.  This is displayed
in `ceph -s` and `ceph health detail` to help the user
understand what BLUESTORE_FREE_FRAGMENTATION means.

Signed-off-by: Michael J. Kidd <linuxkidd@gmail.com>
src/mon/PGMap.cc

index 486e38de7f6c3b9ce8ee2b3db11476b9536982c7..f7a75583c3fa2f09225b150e7fccc31efec71533 100644 (file)
@@ -3317,6 +3317,8 @@ void PGMap::get_health_checks(
        for (auto str : asum.second.second) {
          summary += str;
        }
+      } else if (asum.first == "BLUESTORE_FREE_FRAGMENTATION") {
+        summary += " experiencing high free space fragmentation of BlueStore";
       }
 
       auto& d = checks->add(asum.first, HEALTH_WARN, summary, asum.second.first);