]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore/logical_child_node: rename child_node_t to
authorXuehan Xu <xuxuehan@qianxin.com>
Sun, 30 Mar 2025 08:23:10 +0000 (16:23 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Wed, 16 Apr 2025 03:00:15 +0000 (11:00 +0800)
lba_child_node_t

To be distinguished with omap nodes' child_node_t

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

index e1895ada8468c3f7d5eea00a054de5710af00503..0c9da66d464fbd5a4edabec2d53d512898f6e4de 100644 (file)
@@ -14,7 +14,7 @@ class LogicalChildNode : public LogicalCachedExtent,
                         public ChildNode<lba_manager::btree::LBALeafNode,
                                          LogicalChildNode,
                                          laddr_t> {
-  using child_node_t = ChildNode<
+  using lba_child_node_t = ChildNode<
     lba_manager::btree::LBALeafNode, LogicalChildNode, laddr_t>;
 public:
   template <typename... T>
@@ -24,7 +24,7 @@ public:
     if (this->has_parent_tracker() &&
        this->is_valid() &&
        !this->is_pending()) {
-      child_node_t::destroy();
+      lba_child_node_t::destroy();
     }
   }
 
@@ -41,7 +41,7 @@ public:
   }
 protected:
   void on_replace_prior() final {
-    child_node_t::on_replace_prior();
+    lba_child_node_t::on_replace_prior();
     do_on_replace_prior();
   }
   virtual void do_on_replace_prior() {}