ceph_assert(extents.empty());
}
-Cache::retire_extent_ret Cache::retire_extent(
+Cache::retire_extent_ret Cache::retire_extent_addr(
Transaction &t, paddr_t addr, extent_len_t length)
{
LOG_PREFIX(Cache::retire_extent);
/// Declare paddr retired in t
using retire_extent_ertr = base_ertr;
using retire_extent_ret = retire_extent_ertr::future<>;
- retire_extent_ret retire_extent(
+ retire_extent_ret retire_extent_addr(
Transaction &t, paddr_t addr, extent_len_t length);
/**
).safe_then([this, FNAME, offset, &t](auto result) -> ref_ret {
if (result.refcount == 0 && !result.addr.is_zero()) {
DEBUGT("offset {} refcount 0", t, offset);
- return cache->retire_extent(
+ return cache->retire_extent_addr(
t, result.addr, result.length
).safe_then([result, this] {
stats.extents_retired_total++;