From 65aaea8f8ed89e55ea0533c00dabcc55a6612b0e Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Sat, 20 Aug 2022 18:20:37 +0800 Subject: [PATCH] crimson/os: use use IsFullKey in node_fields_2_t::insert_at() to fade out KeyT, so we can have more straightforward definitions. Signed-off-by: Kefu Chai --- .../staged-fltree/stages/node_stage_layout.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/crimson/os/seastore/onode_manager/staged-fltree/stages/node_stage_layout.h b/src/crimson/os/seastore/onode_manager/staged-fltree/stages/node_stage_layout.h index 101485c82d18b..1ed4865a629df 100644 --- a/src/crimson/os/seastore/onode_manager/staged-fltree/stages/node_stage_layout.h +++ b/src/crimson/os/seastore/onode_manager/staged-fltree/stages/node_stage_layout.h @@ -278,9 +278,9 @@ struct node_fields_2_t { } static node_offset_t estimate_insert_one() { return sizeof(node_offset_t); } - template + template static void insert_at( - NodeExtentMutable& mut, const full_key_t& key, + NodeExtentMutable& mut, const Key& key, const node_fields_2_t& node, index_t index, node_offset_t size_right) { ceph_abort("not implemented"); } @@ -374,9 +374,9 @@ struct internal_fields_3_t { static node_offset_t estimate_insert_one() { return ITEM_SIZE; } - template + template static void insert_at( - NodeExtentMutable& mut, const full_key_t& key, + NodeExtentMutable& mut, const Key& key, const internal_fields_3_t& node, index_t index, node_offset_t size_right) { ceph_abort("not implemented"); -- 2.39.5