From 5cfb2d5c1a1546d5c667786f04b14630e5fb8d1b Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Thu, 2 Jun 2016 19:29:01 +0800 Subject: [PATCH] bluestore: add "0x" prefix for tracing messages Signed-off-by: xie xingguo --- src/os/bluestore/BlueStore.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/os/bluestore/BlueStore.cc b/src/os/bluestore/BlueStore.cc index 6149752c75bb..e08610d938bf 100644 --- a/src/os/bluestore/BlueStore.cc +++ b/src/os/bluestore/BlueStore.cc @@ -2629,7 +2629,7 @@ int BlueStore::fsck() ghobject_t oid; if (is_bnode_key(it->key())) { if (expecting_objects) { - dout(30) << __func__ << " had bnode but no objects for " + dout(30) << __func__ << " had bnode but no objects for 0x" << std::hex << expecting_hash << std::dec << dendl; ++errors; } @@ -2646,7 +2646,7 @@ int BlueStore::fsck() } if (expecting_objects) { if (oid.hobj.get_bitwise_key_u32() != expecting_hash) { - dout(30) << __func__ << " had bnode but no objects for " + dout(30) << __func__ << " had bnode but no objects for 0x" << std::hex << expecting_hash << std::dec << dendl; ++errors; } @@ -2672,7 +2672,7 @@ int BlueStore::fsck() } } if (expecting_objects) { - dout(30) << __func__ << " had bnode but no objects for " + dout(30) << __func__ << " had bnode but no objects for 0x" << std::hex << expecting_hash << std::dec << dendl; ++errors; expecting_objects = false; -- 2.47.3