From: Ronen Friedman Date: Mon, 30 Aug 2021 08:04:23 +0000 (+0000) Subject: osd: adding missing data to register_and_wake_split_child() logs X-Git-Tag: v17.1.0~944^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7f0893c6411f123cd9d0998e5fc1b165fd22a38f;p=ceph.git osd: adding missing data to register_and_wake_split_child() logs Fixing missing __func__, and adding a log before starting to wait for the lock. Signed-off-by: Ronen Friedman --- diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index b0518b6b9130b..b6b56abeb463a 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -10804,15 +10804,16 @@ void OSDShard::prime_merges(const OSDMapRef& as_of_osdmap, void OSDShard::register_and_wake_split_child(PG *pg) { + dout(15) << __func__ << ": " << pg << " #:" << pg_slots.size() << dendl; epoch_t epoch; { std::lock_guard l(shard_lock); - dout(10) << pg->pg_id << " " << pg << dendl; + dout(10) << __func__ << ": " << pg->pg_id << " " << pg << dendl; auto p = pg_slots.find(pg->pg_id); ceph_assert(p != pg_slots.end()); auto *slot = p->second.get(); - dout(20) << pg->pg_id << " waiting_for_split " << slot->waiting_for_split - << dendl; + dout(20) << __func__ << ": " << pg->pg_id << " waiting_for_split " + << slot->waiting_for_split << dendl; ceph_assert(!slot->pg); ceph_assert(!slot->waiting_for_split.empty()); _attach_pg(slot, pg);