Signed-off-by: Zhang Song <zhangsong02@qianxin.com>
Transaction &trans;
};
-constexpr uint16_t MAX_FIXEDKVBTREE_DEPTH = 8;
-
template <typename bound_t>
struct fixed_kv_node_meta_t {
bound_t begin = min_max_t<bound_t>::min;
typename cursor_t,
size_t node_size>
class FixedKVBtree {
- static constexpr size_t MAX_DEPTH = 16;
+ static constexpr size_t MAX_DEPTH = 8;
using self_type = FixedKVBtree<
node_key_t,
node_val_t,
c.trans, root_block)->template cast<RootBlock>();
get_root().set_location(nroot->get_paddr());
get_root().set_depth(iter.get_depth());
- ceph_assert(get_root().get_depth() <= MAX_FIXEDKVBTREE_DEPTH);
+ ceph_assert(get_root().get_depth() <= MAX_DEPTH);
set_root_node(nroot);
}