]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/onode-staged-tree: reset root node after lookup 42003/head
authorYingxin Cheng <yingxin.cheng@intel.com>
Thu, 24 Jun 2021 07:50:18 +0000 (15:50 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Fri, 25 Jun 2021 02:40:28 +0000 (10:40 +0800)
commitd2454022f0d3254923074cc8d1d987c29a8e83a3
tree2b94bb14d4f5d81b9ff08a7f92ab32ff41c8a292
parentbe9643715785c2d674b2bf50e990cbc401ca8f4f
crimson/onode-staged-tree: reset root node after lookup

Otherwise there could be unexpected references that will break the
asserts when remove nodes during insert/delete.

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/crimson/os/seastore/onode_manager/staged-fltree/tree.h