From 7051a2b01f32c1ed6da812922628c81ac2b6f689 Mon Sep 17 00:00:00 2001 From: Yao guotao Date: Fri, 19 Mar 2021 12:01:31 +0000 Subject: [PATCH] src/os: Remove redundant hexadecimal symbols from the log output because they are already printed in the region_t struct. Signed-off-by: Yao guotao --- src/os/bluestore/BlueStore.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index e2774f6625d..f2fddbcc684 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -9612,8 +9612,8 @@ int BlueStore::_prepare_read_ioc( for (auto& p : blobs2read) { const BlobRef& bptr = p.first; regions2read_t& r2r = p.second; - dout(20) << __func__ << " blob " << *bptr << std::hex - << " need " << r2r << std::dec << dendl; + dout(20) << __func__ << " blob " << *bptr << " need " + << r2r << dendl; if (bptr->get_blob().is_compressed()) { // read the whole thing if (compressed_blob_bls->empty()) { @@ -9690,8 +9690,8 @@ int BlueStore::_generate_read_result_bl( while (b2r_it != blobs2read.end()) { const BlobRef& bptr = b2r_it->first; regions2read_t& r2r = b2r_it->second; - dout(20) << __func__ << " blob " << *bptr << std::hex - << " need 0x" << r2r << std::dec << dendl; + dout(20) << __func__ << " blob " << *bptr << " need " + << r2r << dendl; if (bptr->get_blob().is_compressed()) { ceph_assert(p != compressed_blob_bls.end()); bufferlist& compressed_bl = *p++; -- 2.39.5