]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/.../lba_btree_node_impl: hold reference to *this during lookup 37907/head
authorSamuel Just <sjust@redhat.com>
Fri, 30 Oct 2020 21:18:27 +0000 (14:18 -0700)
committerSamuel Just <sjust@redhat.com>
Mon, 2 Nov 2020 08:05:37 +0000 (00:05 -0800)
commit7230aac40c59219c827d9540901a2ef437fa9c49
treea65d15552b79a1ff3d600f26eda9511a83156540
parent8a2f2d82f49df1d5a94e97328f8b04a783d159d5
crimson/os/seastore/.../lba_btree_node_impl: hold reference to *this during lookup

4f2f4f modified TransactionManager::mount() to use a weak_transaction
while calling init_cached_extents.  This is fine, but lookup() needs
to hold a reference to *this until the child lookup completes in order
to ensure residence in the lba pinning set.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/os/seastore/lba_manager/btree/lba_btree_node_impl.cc