mirror of
https://github.com/ceph/ceph
synced 2025-01-12 14:10:27 +00:00
osd: Fix logging to help with diagnostics
These messages were not outputing the intended information Signed-off-by: David Zafman <dzafman@redhat.com>
This commit is contained in:
parent
d0503a52d0
commit
b39001ec6f
@ -3844,8 +3844,12 @@ void PG::repair_object(
|
||||
const hobject_t& soid, list<pair<ScrubMap::object, pg_shard_t> > *ok_peers,
|
||||
pg_shard_t bad_peer)
|
||||
{
|
||||
list<pg_shard_t> op_shards;
|
||||
for (auto i : *ok_peers) {
|
||||
op_shards.push_back(i.second);
|
||||
}
|
||||
dout(10) << "repair_object " << soid << " bad_peer osd."
|
||||
<< bad_peer << " ok_peers osd.{" << ok_peers << "}" << dendl;
|
||||
<< bad_peer << " ok_peers osd.{" << op_shards << "}" << dendl;
|
||||
ScrubMap::object &po = ok_peers->back().first;
|
||||
eversion_t v;
|
||||
bufferlist bv;
|
||||
|
@ -1485,7 +1485,7 @@ void ReplicatedBackend::prepare_pull(
|
||||
|
||||
dout(7) << "pull " << soid
|
||||
<< " v " << v
|
||||
<< " on osds " << *p
|
||||
<< " on osds " << q->second
|
||||
<< " from osd." << fromshard
|
||||
<< dendl;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user