From: John Spray Date: Wed, 12 Jul 2017 18:00:13 +0000 (-0400) Subject: mds: refine "Scrub error" cluster log message X-Git-Tag: ses5-milestone10~3^2~22^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b34c2655cf16dda74e1b5328d1fa46c39989631b;p=ceph.git mds: refine "Scrub error" cluster log message Fixes: http://tracker.ceph.com/issues/20246 Signed-off-by: John Spray --- diff --git a/src/mds/ScrubStack.cc b/src/mds/ScrubStack.cc index 66a145c3c22..2a595acdd7a 100644 --- a/src/mds/ScrubStack.cc +++ b/src/mds/ScrubStack.cc @@ -393,9 +393,9 @@ void ScrubStack::_validate_inode_done(CInode *in, int r, // Inform the cluster log if we found an error if (!result.passed_validation) { - clog->warn() << "Scrub error on inode " << *in + clog->warn() << "Scrub error on inode " << in->ino() << " (" << path << ") see " << g_conf->name - << " log for details"; + << " log and `damage ls` output for details"; // Put the verbose JSON output into the MDS log for later inspection JSONFormatter f;