File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
src/crimson/os/seastore/btree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ struct op_context_t {
1919 Transaction &trans;
2020};
2121
22- constexpr uint16_t MAX_FIXEDKVBTREE_DEPTH = 8 ;
23-
2422template <typename bound_t >
2523struct fixed_kv_node_meta_t {
2624 bound_t begin = min_max_t <bound_t >::min;
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ template <
4040 typename cursor_t ,
4141 size_t node_size>
4242class FixedKVBtree {
43- static constexpr size_t MAX_DEPTH = 16 ;
43+ static constexpr size_t MAX_DEPTH = 8 ;
4444 using self_type = FixedKVBtree<
4545 node_key_t ,
4646 node_val_t ,
@@ -1778,7 +1778,7 @@ class FixedKVBtree {
17781778 c.trans , root_block)->template cast <RootBlock>();
17791779 get_root ().set_location (nroot->get_paddr ());
17801780 get_root ().set_depth (iter.get_depth ());
1781- ceph_assert (get_root ().get_depth () <= MAX_FIXEDKVBTREE_DEPTH );
1781+ ceph_assert (get_root ().get_depth () <= MAX_DEPTH );
17821782 set_root_node (nroot);
17831783 }
17841784
You can’t perform that action at this time.
0 commit comments