From 431735bcbbcb7f42625b19a822495235ae21e39c Mon Sep 17 00:00:00 2001 From: David Zafman Date: Thu, 15 Sep 2016 12:24:52 -0700 Subject: [PATCH] osd: Fix log messages Signed-off-by: David Zafman --- src/osd/OSD.cc | 2 +- src/osd/ReplicatedBackend.cc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index ae1174da6780d..8fa2199650400 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -1053,7 +1053,7 @@ bool OSDService::can_inc_scrubs_pending() Mutex::Locker l(sched_scrub_lock); if (scrubs_pending + scrubs_active < cct->_conf->osd_max_scrubs) { - dout(20) << __func__ << scrubs_pending << " -> " << (scrubs_pending+1) + dout(20) << __func__ << " " << scrubs_pending << " -> " << (scrubs_pending+1) << " (max " << cct->_conf->osd_max_scrubs << ", active " << scrubs_active << ")" << dendl; can_inc = true; } else { diff --git a/src/osd/ReplicatedBackend.cc b/src/osd/ReplicatedBackend.cc index a090c2de5bde2..4b5c8f9869836 100644 --- a/src/osd/ReplicatedBackend.cc +++ b/src/osd/ReplicatedBackend.cc @@ -789,7 +789,8 @@ void ReplicatedBackend::be_deep_scrub( ScrubMap::object &o, ThreadPool::TPHandle &handle) { - dout(10) << __func__ << " " << poid << " seed " << seed << dendl; + dout(10) << __func__ << " " << poid << " seed " + << std::hex << seed << std::dec << dendl; bufferhash h(seed), oh(seed); bufferlist bl, hdrbl; int r; -- 2.39.5