From: John Spray Date: Tue, 8 Aug 2017 18:53:11 +0000 (+0100) Subject: osd: downgrade (ok) PG scrub messages to debug X-Git-Tag: v13.0.0~189^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=0443fdb0221bbcd33c8d1278fdd3959e710fcacb;p=ceph.git osd: downgrade (ok) PG scrub messages to debug Otherwise someone watching the log at INFO level gets pelted with potentially millions of log messages while the system is scrubbing. Fixes: http://tracker.ceph.com/issues/20947 Signed-off-by: John Spray --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 440cd2e6f87ce..78a0f8315dfb8 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -4493,7 +4493,7 @@ void PG::chunky_scrub(ThreadPool::TPHandle &handle) const char *mode = (repair ? "repair": (deep_scrub ? "deep-scrub" : "scrub")); stringstream oss; oss << info.pgid.pgid << " " << mode << " starts" << std::endl; - osd->clog->info(oss); + osd->clog->debug(oss); } scrubber.seed = -1; @@ -4932,7 +4932,7 @@ void PG::scrub_finish() if (total_errors) osd->clog->error(oss); else - osd->clog->info(oss); + osd->clog->debug(oss); } // finish up