diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 40afda69d33..097b408d149 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -10335,8 +10335,7 @@ void OSDShard::identify_splits_and_merges( split_pgs, nullptr); } else { dout(20) << __func__ << " slot " << pgid - << " has no pg and waiting_for_split " - << slot->waiting_for_split << dendl; + << " has no pg and waiting_for_split " << dendl; } } } diff --git a/src/osd/OSD.h b/src/osd/OSD.h index 742a4e0269e..794b4dea5b0 100644 --- a/src/osd/OSD.h +++ b/src/osd/OSD.h @@ -714,15 +714,6 @@ public: deleted_pool_pg_nums[pool] = pg_num; } - /// get pgnum from newmap or, if pool was deleted, last map pool existed in - int get_possibly_deleted_pool_pg_num(OSDMapRef newmap, - int64_t pool) { - if (newmap->have_pg_pool(pool)) { - return newmap->get_pg_num(pool); - } - return get_deleted_pool_pg_num(pool); - } - /// identify split child pgids over a osdmap interval void identify_splits_and_merges( OSDMapRef old_map,