]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore/btree: remove unused methods 63219/head
authorXuehan Xu <xuxuehan@qianxin.com>
Fri, 16 May 2025 09:16:22 +0000 (17:16 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Mon, 19 May 2025 03:56:55 +0000 (11:56 +0800)
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/os/seastore/btree/fixed_kv_btree.h

index d9a114af5f66bc1a19e9f76747bc0fb558683b80..dd1ff0e1fe4aa07ff10d1d38a6d205d439437b1b 100644 (file)
@@ -312,17 +312,6 @@ public:
       }
       return get_depth();
     }
-
-    depth_t check_merge() const {
-      if (!leaf.node->below_min_capacity()) {
-       return 0;
-      }
-      for (depth_t merge_from = 1; merge_from < get_depth(); ++merge_from) {
-       if (!get_internal(merge_from + 1).node->below_min_capacity())
-         return merge_from;
-      }
-      return get_depth();
-    }
   };
 
   FixedKVBtree(RootBlockRef &root_block) : root_block(root_block) {}