Skip to content

Commit 2c0ea27

Browse files
authored
Merge pull request ceph#58869 from xxhdx1985126/wip-seastore-lba-leaf-node-minor-bug-fix
crimson/os/seastore/lba_manager: correct the range end of lba mappings Reviewed-by: Yingxin Cheng <[email protected]>
2 parents cfed7c0 + b827fe7 commit 2c0ea27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crimson/os/seastore/lba_manager/btree/lba_btree_node.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ BtreeLBAMappingRef LBALeafNode::get_mapping(
8383
this,
8484
iter.get_offset(),
8585
val,
86-
lba_node_meta_t{laddr, val.len, 0});
86+
lba_node_meta_t{laddr, laddr + val.len, 0});
8787
}
8888

8989
}

0 commit comments

Comments
 (0)