From: Igor Fedotov Date: Mon, 25 Jun 2018 14:49:49 +0000 (+0300) Subject: os/bluestore: fix minor issues in bitmap logging output X-Git-Tag: v12.2.12~16^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9edf23349bd7cf2be99ae5988434da2ef22c1996;p=ceph.git os/bluestore: fix minor issues in bitmap logging output Signed-off-by: Igor Fedotov (cherry picked from commit dc4b5fc5afcea4be9e3b4c91dcc9dcce38d4e906) --- diff --git a/src/os/bluestore/BitmapAllocator.cc b/src/os/bluestore/BitmapAllocator.cc index 2cf2bfd68e7..2be838d6f5e 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;