mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
crimson/os/seastore/lba_manager/btree/btree_lba_manager: manage pin in init
Signed-off-by: Samuel Just <sjust@redhat.com>
This commit is contained in:
parent
5e840a20b8
commit
52c03750a4
@ -275,6 +275,8 @@ BtreeLBAManager::init_cached_extent_ret BtreeLBAManager::init_cached_extent(
|
||||
pins.pop_front();
|
||||
if (pin->get_paddr() == logn->get_paddr()) {
|
||||
logn->set_pin(std::move(pin));
|
||||
pin_set.add_pin(
|
||||
static_cast<BtreeLBAPin&>(logn->get_pin()).pin);
|
||||
logger().debug("init_cached_extent: {} initialized", *logn);
|
||||
} else {
|
||||
// paddr doesn't match, remapped, obsolete
|
||||
|
Loading…
Reference in New Issue
Block a user