]>
git.proxmox.com Git - ceph.git/blob - ceph/src/crimson/os/seastore/onode_manager/staged-fltree/super.cc
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:nil -*-
2 // vim: ts=8 sw=2 smarttab
7 namespace crimson::os::seastore::onode
{
9 Ref
<Node
> RootNodeTrackerIsolated::get_root(Transaction
& t
) const {
10 auto iter
= tracked_supers
.find(&t
);
11 if (iter
== tracked_supers
.end()) {
14 return iter
->second
->get_p_root();
18 Ref
<Node
> RootNodeTrackerShared::get_root(Transaction
&) const {
22 return tracked_super
->get_p_root();