]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: Fix log messages 11397/head
authorDavid Zafman <dzafman@redhat.com>
Thu, 15 Sep 2016 19:24:52 +0000 (12:24 -0700)
committerDavid Zafman <dzafman@redhat.com>
Mon, 10 Oct 2016 18:23:36 +0000 (11:23 -0700)
Signed-off-by: David Zafman <dzafman@redhat.com>
src/osd/OSD.cc
src/osd/ReplicatedBackend.cc

index ae1174da6780d9549a3c1b18c247ac027af2aa69..8fa219965040085c5df475973f7305459c2200e4 100644 (file)
@@ -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 {
index a090c2de5bde26ac7548312cfe8fd4dc72b865c4..4b5c8f9869836c318a4dd9f1e6983a41b3fe5047 100644 (file)
@@ -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;