]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/onode-staged-tree: pass origin_left_addr to apply_children_merge()
authorYingxin Cheng <yingxin.cheng@intel.com>
Thu, 22 Apr 2021 08:46:44 +0000 (16:46 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Thu, 29 Apr 2021 08:03:37 +0000 (16:03 +0800)
commit9f821d0ee21a450e4940cd25e075ab7da2fcbd6d
tree5fa6498fd8e80d1cc4035f903d0842219fb677ff
parent86ad429d8d3f9b7cf2e011460c5667267433549f
crimson/onode-staged-tree: pass origin_left_addr to apply_children_merge()

rebuild_extent() may change the address of the left child, we need to
pass the origin_left_addr in order to validate if it is correct.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/onode_manager/staged-fltree/node.cc
src/crimson/os/seastore/onode_manager/staged-fltree/node.h
src/test/crimson/seastore/onode_tree/test_staged_fltree.cc