From: Xuehan Xu Date: Fri, 10 Jun 2022 07:41:50 +0000 (+0800) Subject: crimson/os/seastore/lba_manager: correct btree node sizes X-Git-Tag: v18.0.0~647^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f2b911711cb7fe479b335e17be09759c901a5626;p=ceph-ci.git crimson/os/seastore/lba_manager: correct btree node sizes Signed-off-by: Xuehan Xu --- diff --git a/src/crimson/os/seastore/lba_manager/btree/lba_btree_node.h b/src/crimson/os/seastore/lba_manager/btree/lba_btree_node.h index 09a9a53f3e8..004a5778001 100644 --- a/src/crimson/os/seastore/lba_manager/btree/lba_btree_node.h +++ b/src/crimson/os/seastore/lba_manager/btree/lba_btree_node.h @@ -77,7 +77,7 @@ using lba_node_meta_le_t = fixed_kv_node_meta_le_t; * TODO: make the above capacity calculation part of FixedKVNodeLayout * TODO: the above alignment probably isn't portable without further work */ -constexpr size_t INTERNAL_NODE_CAPACITY = 32; +constexpr size_t INTERNAL_NODE_CAPACITY = 254; struct LBAInternalNode : FixedKVInternalNode< INTERNAL_NODE_CAPACITY, @@ -115,7 +115,7 @@ using LBAInternalNodeRef = LBAInternalNode::Ref; * TODO: update FixedKVNodeLayout to handle the above calculation * TODO: the above alignment probably isn't portable without further work */ -constexpr size_t LEAF_NODE_CAPACITY = 32; +constexpr size_t LEAF_NODE_CAPACITY = 145; /** * lba_map_val_le_t