Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
void BitMapAllocator::release(
uint64_t offset, uint64_t length)
{
- std::lock_guard<std::mutex> l(m_lock);
dout(10) << __func__ << " 0x"
<< std::hex << offset << "~" << length << std::dec
<< dendl;
void BitMapAllocator::dump()
{
- std::lock_guard<std::mutex> l(m_lock);
dout(0) << __func__ << " instance " << this << dendl;
m_bit_alloc->dump();
}
class BitMapAllocator : public Allocator {
CephContext* cct;
- std::mutex m_lock;
int64_t m_block_size;