]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore/lba_manager: correct the range end of lba mappings 58869/head
authorXuehan Xu <xuxuehan@qianxin.com>
Fri, 26 Jul 2024 07:51:00 +0000 (15:51 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Fri, 26 Jul 2024 07:51:00 +0000 (15:51 +0800)
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/os/seastore/lba_manager/btree/lba_btree_node.cc

index f3e37ff9bef37d806358c80e927208b368a9aa6d..80bfd7a2e20a911a464eb1dc85866dffa7b05cac 100644 (file)
@@ -83,7 +83,7 @@ BtreeLBAMappingRef LBALeafNode::get_mapping(
     this,
     iter.get_offset(),
     val,
-    lba_node_meta_t{laddr, val.len, 0});
+    lba_node_meta_t{laddr, laddr + val.len, 0});
 }
 
 }