From f35b05b51725a27e7b53dd286ccf4a1a54229d16 Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Tue, 28 Jun 2016 09:55:05 +0800 Subject: [PATCH] os/bluestore: promote output to derr if out of memory Signed-off-by: xie xingguo --- src/os/bluestore/BitMapAllocator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/bluestore/BitMapAllocator.cc b/src/os/bluestore/BitMapAllocator.cc index 4b5c0ca7d9c..1f4b2989814 100644 --- a/src/os/bluestore/BitMapAllocator.cc +++ b/src/os/bluestore/BitMapAllocator.cc @@ -30,7 +30,7 @@ BitMapAllocator::BitMapAllocator(int64_t device_size, int64_t block_size) zone_size_blks, CONCURRENT, true); assert(m_bit_alloc); if (!m_bit_alloc) { - dout(10) << __func__ << "Unable to intialize Bit Allocator" << dendl; + derr << __func__ << " Unable to intialize Bit Allocator" << dendl; } dout(10) << __func__ << " instance " << (uint64_t) this << " size 0x" << std::hex << device_size << std::dec -- 2.47.3