From: Kefu Chai Date: Sat, 20 Aug 2022 10:20:37 +0000 (+0800) Subject: crimson/os: use use IsFullKey in node_fields_2_t::insert_at() X-Git-Tag: v18.0.0~216^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=65aaea8f8ed89e55ea0533c00dabcc55a6612b0e;p=ceph.git 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 --- 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");