Merge pull request #37149 from ifed01/wip-ifed-fix-alloc-cmd-multi-reg

os/bluestore: provide a different name for fallback allocator

Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
This commit is contained in:
Kefu Chai 2020-09-28 00:13:46 +08:00 committed by GitHub
commit d80fbdd97a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -204,7 +204,7 @@ void HybridAllocator::_spillover_range(uint64_t start, uint64_t end)
bmap_alloc = new BitmapAllocator(cct,
get_capacity(),
get_block_size(),
get_name());
get_name() + ".fallback");
}
bmap_alloc->init_add_free(start, size);
}