Skip to content

Commit 2fc67a6

Browse files
committed
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 <[email protected]>
1 parent a52d6a9 commit 2fc67a6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mon/PGMap.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3317,6 +3317,8 @@ void PGMap::get_health_checks(
33173317
for (auto str : asum.second.second) {
33183318
summary += str;
33193319
}
3320+
} else if (asum.first == "BLUESTORE_FREE_FRAGMENTATION") {
3321+
summary += " experiencing high free space fragmentation of BlueStore";
33203322
}
33213323

33223324
auto& d = checks->add(asum.first, HEALTH_WARN, summary, asum.second.first);

0 commit comments

Comments
 (0)