[space-maps] remove count_possibly_greater_than_one

This is only ever called with a recursive space map wrapper,
and that causes too many false positives.  False positives trigger
a copy of a metadata page, so this is a false economy.
This commit is contained in:
Joe Thornber
2020-05-28 07:38:58 +01:00
parent 29cfdd8979
commit 128ecc27f2
7 changed files with 1 additions and 32 deletions

View File

@@ -132,16 +132,6 @@ namespace {
return sm_->find_free(filtered_it);
}
virtual bool count_possibly_greater_than_one(block_address b) const {
recursing_const_lock lock(*this);
bool gto = sm_->count_possibly_greater_than_one(b);
if (gto)
return true;
return modify_count(b, 1) > 1;
}
virtual void extend(block_address extra_blocks) {
cant_recurse("extend");
recursing_lock lock(*this);