From: Yingxin Cheng Date: Thu, 7 Mar 2024 08:41:25 +0000 (+0800) Subject: crimson/os/seastore/../fixed_kv_node: add comment to copy-from-source X-Git-Tag: testing/wip-batrick-testing-20240411.154038~247^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3df6477809f8aabacbf9850a09527c2887263949;p=ceph-ci.git crimson/os/seastore/../fixed_kv_node: add comment to copy-from-source Signed-off-by: Yingxin Cheng --- diff --git a/src/crimson/os/seastore/btree/fixed_kv_node.h b/src/crimson/os/seastore/btree/fixed_kv_node.h index 6ad55e3b9b3..544727f30aa 100644 --- a/src/crimson/os/seastore/btree/fixed_kv_node.h +++ b/src/crimson/os/seastore/btree/fixed_kv_node.h @@ -430,6 +430,8 @@ struct FixedKVNode : ChildableCachedExtent { // the foreign key is preserved if (!child) { child = source.children[foreign_it.get_offset()]; + // child can be either valid if present, nullptr if absent, + // or RESERVATION_PTR. } foreign_it++; local_it++;