]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/onode-staged-tree: move try_downgrade_root() into fix_index()
authorYingxin Cheng <yingxin.cheng@intel.com>
Fri, 23 Apr 2021 02:03:18 +0000 (10:03 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Thu, 29 Apr 2021 08:03:37 +0000 (16:03 +0800)
commit04fbaa036a7602fe9ea0aebe850423785ddcc841
tree2786929aaca0ea3c2e7c5c327666346d21bf62a1
parente0a9bfbcfa3af1997b11ce997a0e3b892bdc33d4
crimson/onode-staged-tree: move try_downgrade_root() into fix_index()

Specifically, apply_children_merge() doesn't know whether it will be
retired due to fix_parent_index().

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