From 8c3f484813c34362a35436d2e2c3b3bcec889ebc Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 1 Sep 2017 13:41:38 -0400 Subject: [PATCH] osd/PrimaryLogPG: drop last legacy_snaps users (just debug output!) Signed-off-by: Sage Weil --- src/osd/PrimaryLogPG.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/osd/PrimaryLogPG.cc b/src/osd/PrimaryLogPG.cc index 1c73559dfcec2..bee2c3642fc7c 100644 --- a/src/osd/PrimaryLogPG.cc +++ b/src/osd/PrimaryLogPG.cc @@ -344,8 +344,7 @@ void PrimaryLogPG::on_local_recover( if (!is_delete && recovery_info.soid.is_snap()) { OSDriver::OSTransaction _t(osdriver.get_transaction(t)); set snaps; - dout(20) << " snapset " << recovery_info.ss - << " legacy_snaps " << recovery_info.oi.legacy_snaps << dendl; + dout(20) << " snapset " << recovery_info.ss << dendl; auto p = recovery_info.ss.clone_snaps.find(hoid.snap); assert(p != recovery_info.ss.clone_snaps.end()); // hmm, should we warn? snaps.insert(p->second.begin(), p->second.end()); @@ -9775,7 +9774,6 @@ int PrimaryLogPG::find_object_context(const hobject_t& oid, // clone dout(20) << "find_object_context " << soid << " snapset " << obc->ssc->snapset - << " legacy_snaps " << obc->obs.oi.legacy_snaps << dendl; snapid_t first, last; auto p = obc->ssc->snapset.clone_snaps.find(soid.snap); -- 2.39.5