From: Michael J. Kidd Date: Fri, 11 Jul 2025 14:06:30 +0000 (-0400) Subject: mon/PGmap: Add warn description for bluestore fragmentation X-Git-Tag: testing/wip-vshankar-testing-20250903.070400-debug~2^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2fc67a6fa53631eba52e1238aaac699adb791ba8;p=ceph-ci.git mon/PGmap: Add warn description for bluestore fragmentation 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 --- diff --git a/src/mon/PGMap.cc b/src/mon/PGMap.cc index 486e38de7f6..f7a75583c3f 100644 --- a/src/mon/PGMap.cc +++ b/src/mon/PGMap.cc @@ -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);