osd: log message content cosmetics

Signed-off-by: Loic Dachary <ldachary@redhat.com>
This commit is contained in:
Loic Dachary 2014-11-28 16:20:00 +01:00
parent bc90df1ed4
commit 0fe5bc6011
2 changed files with 3 additions and 3 deletions

View 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) {

View 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;
}
}