From dc4b5fc5afcea4be9e3b4c91dcc9dcce38d4e906 Mon Sep 17 00:00:00 2001 From: Igor Fedotov Date: Mon, 25 Jun 2018 17:49:49 +0300 Subject: [PATCH] os/bluestore: fix minor issues in bitmap logging output Signed-off-by: Igor Fedotov --- src/os/bluestore/BitmapAllocator.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/os/bluestore/BitmapAllocator.cc b/src/os/bluestore/BitmapAllocator.cc index fc7d66c0f95e1..ef7c0f003b6be 100755 --- a/src/os/bluestore/BitmapAllocator.cc +++ b/src/os/bluestore/BitmapAllocator.cc @@ -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; -- 2.39.5