]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: fix minor issues in bitmap logging output
authorIgor Fedotov <ifedotov@suse.com>
Mon, 25 Jun 2018 14:49:49 +0000 (17:49 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Sun, 17 Mar 2019 17:55:31 +0000 (20:55 +0300)
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit dc4b5fc5afcea4be9e3b4c91dcc9dcce38d4e906)

src/os/bluestore/BitmapAllocator.cc

index 2cf2bfd68e70e57ee7f39243ced83fc7160b55d9..2be838d6f5e163e35193577ce29469ddf3d73cb9 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;