]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore/btree: rename base_child_node_t to base_child_t
authorXuehan Xu <xuxuehan@qianxin.com>
Tue, 4 Mar 2025 09:05:57 +0000 (17:05 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Mon, 14 Apr 2025 04:26:53 +0000 (12:26 +0800)
To distinguish from child_node_t

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/os/seastore/btree/fixed_kv_node.h

index f381fe2b4660fe1ccd5f3f4c79e39ee50d5eaad3..2d90173396445905def3e11f3964c2908e459a00 100644 (file)
@@ -139,7 +139,7 @@ struct FixedKVInternalNode
     node_size,
     node_type_t>;
   using parent_node_t = ParentNode<node_type_t, NODE_KEY>;
-  using base_child_node_t = BaseChildNode<node_type_t, NODE_KEY>;
+  using base_child_t = BaseChildNode<node_type_t, NODE_KEY>;
   using child_node_t = ChildNode<node_type_t, node_type_t, NODE_KEY>;
   using root_node_t = RootChildNode<RootBlock, node_type_t>;
 
@@ -236,7 +236,7 @@ struct FixedKVInternalNode
   void update(
     internal_const_iterator_t iter,
     paddr_t addr,
-    base_child_node_t* nextent) {
+    base_child_t* nextent) {
     LOG_PREFIX(FixedKVInternalNode::update);
     SUBTRACE(seastore_fixedkv_tree, "trans.{}, pos {}, {}",
       this->pending_for_transaction,
@@ -253,7 +253,7 @@ struct FixedKVInternalNode
     internal_const_iterator_t iter,
     NODE_KEY pivot,
     paddr_t addr,
-    base_child_node_t* nextent) {
+    base_child_t* nextent) {
     LOG_PREFIX(FixedKVInternalNode::insert);
     SUBTRACE(seastore_fixedkv_tree, "trans.{}, pos {}, key {}, {}",
       this->pending_for_transaction,
@@ -284,7 +284,7 @@ struct FixedKVInternalNode
     internal_const_iterator_t iter,
     NODE_KEY pivot,
     paddr_t addr,
-    base_child_node_t* nextent) {
+    base_child_t* nextent) {
     LOG_PREFIX(FixedKVInternalNode::replace);
     SUBTRACE(seastore_fixedkv_tree, "trans.{}, pos {}, old key {}, key {}, {}",
       this->pending_for_transaction,