]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: log message content cosmetics 3032/head
authorLoic Dachary <ldachary@redhat.com>
Fri, 28 Nov 2014 15:20:00 +0000 (16:20 +0100)
committerLoic Dachary <ldachary@redhat.com>
Fri, 28 Nov 2014 17:02:39 +0000 (18:02 +0100)
Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/osd/PG.cc
src/osd/PGBackend.cc

index 239b7dbed5f5b2ac7b3251c4ad6e5a160a0d1b77..afb3a631e6eea5a47f4859bb66d797ae1d6108a7 100644 (file)
@@ -4162,7 +4162,7 @@ void PG::scrub_process_inconsistent()
 
     ss << info.pgid << " " << mode << " "
        << scrubber.missing.size() << " missing, "
-       << scrubber.inconsistent.size() << " inconsistent objects\n";
+       << scrubber.inconsistent.size() << " inconsistent objects";
     dout(2) << ss.str() << dendl;
     osd->clog->error(ss);
     if (repair) {
index ad78d1f552647681216118c140d5274126b8678c..029d577c615b8394d9be7720c9b0b3b459a63d03 100644 (file)
@@ -552,13 +552,13 @@ void PGBackend::be_compare_scrubmaps(
            ++shallow_errors;
           else
            ++deep_errors;
-         errorstream << pgid << " shard " << j->first
+         errorstream << __func__ << ": " << pgid << " shard " << j->first
                      << ": soid " << *k << " " << ss.str() << std::endl;
        }
       } else {
        cur_missing.insert(j->first);
        ++shallow_errors;
-       errorstream << pgid << " shard " << j->first
+       errorstream << __func__ << ": " << pgid << " shard " << j->first
                    << " missing " << *k << std::endl;
       }
     }