]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
src/os: Remove redundant hexadecimal symbols from the log output
authorYao guotao <yaoguo_tao@163.com>
Fri, 19 Mar 2021 12:01:31 +0000 (12:01 +0000)
committerYao guotao <yaoguo_tao@163.com>
Fri, 19 Mar 2021 16:42:52 +0000 (16:42 +0000)
 because they are already printed in the region_t struct.

Signed-off-by: Yao guotao <yaoguo_tao@163.com>
src/os/bluestore/BlueStore.cc

index e2774f6625d77935f295745504815d648c096403..f2fddbcc6840fe5314a16cf3ee80d54f15cf2b7d 100644 (file)
@@ -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++;