]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: Rename allocator score output label 69633/head
authorroot <root@ceph89.tuc.stglabs.ibm.com>
Mon, 22 Jun 2026 09:40:34 +0000 (09:40 +0000)
committerroot <root@ceph89.tuc.stglabs.ibm.com>
Wed, 24 Jun 2026 06:49:31 +0000 (06:49 +0000)
 This commit changes the output label of the bluestore allocator
 score command from fragmentation_rating to fragmentation_score

Fixes: https://tracker.ceph.com/issues/77331
Signed-off-by: Prachi Lasurkar <lasurkarprachi@gmail.com>
src/os/bluestore/AllocatorBase.cc

index 62d78974e278dfcd206551435f0126d93a4725ef..6cbff53900d2714426639fcddba76173b478548f 100644 (file)
@@ -102,7 +102,7 @@ public:
       f->close_section();
     } else if (command == "bluestore allocator score " + name) {
       f->open_object_section("fragmentation_score");
-      f->dump_float("fragmentation_rating", alloc->get_fragmentation_score());
+      f->dump_float("fragmentation_score", alloc->get_fragmentation_score());
       f->close_section();
     } else if (command == "bluestore allocator fragmentation " + name) {
       f->open_object_section("fragmentation");