]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: fix minor issues in bitmap logging output 22691/head
authorIgor Fedotov <ifedotov@suse.com>
Mon, 25 Jun 2018 14:49:49 +0000 (17:49 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Mon, 25 Jun 2018 15:06:27 +0000 (18:06 +0300)
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
src/os/bluestore/BitmapAllocator.cc

index fc7d66c0f95e1d3a107cb1db6150bfa919336671..ef7c0f003b6be05ed1da81178ac49e8572d630e2 100755 (executable)
@@ -6,7 +6,7 @@
 #define dout_context cct
 #define dout_subsys ceph_subsys_bluestore
 #undef dout_prefix
-#define dout_prefix *_dout << "fbmap_alloc 0x" << this << " "
+#define dout_prefix *_dout << "fbmap_alloc " << this << " "
 
 BitmapAllocator::BitmapAllocator(CephContext* _cct,
                                         int64_t capacity,
@@ -24,7 +24,7 @@ int64_t BitmapAllocator::allocate(
 {
   uint64_t allocated = 0;
 
-  ldout(cct, 10) << __func__ << std::hex << "0x" << want_size
+  ldout(cct, 10) << __func__ << std::hex << " 0x" << want_size
                 << "/" << alloc_unit << "," << max_alloc_size << "," << hint
                 << std::dec << dendl;