]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: add effective elastic shared blobs mode into OSD metadata 68898/head
authorGarry Drankovich <garry.drankovich@clyso.com>
Wed, 13 May 2026 18:09:40 +0000 (21:09 +0300)
committerGarry Drankovich <garry.drankovich@clyso.com>
Wed, 13 May 2026 18:09:40 +0000 (21:09 +0300)
Signed-off-by: Garry Drankovich <garry.drankovich@clyso.com>
src/os/bluestore/BlueStore.cc

index b5619a49ffc9f36f57c4d0234509be751a8a7787..b3a6e330687df8e2256789d8149150701b1bee78 100644 (file)
@@ -12236,6 +12236,7 @@ void BlueStore::collect_metadata(map<string,string> *pm)
   (*pm)["bluestore_allocation_from_file"] = stringify(fm && fm->is_null_manager());
   (*pm)["bluestore_allocator"] = alloc ? alloc->get_type() : "null";
   (*pm)["bluestore_write_mode"] = use_write_v2 ? "new" : "classic";
+  (*pm)["bluestore_elastic_shared_blobs"] = elastic_shared_blobs ? "on" : "off";
   (*pm)["bluestore_onode_segmentation"] = segment_size == 0 ? "inactive" : "active";
   std::string sharding;
   if (get_db_sharding(sharding)) {