From 6fd3dfa7224f0af3101fd1614506e8cb2fc7f6a0 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 23 Jan 2015 10:47:44 -0800 Subject: [PATCH] osd: do not ignore deleted pgs on startup These need to get instantiated so that we can complete the removal process. Fixes: #10617 Signed-off-by: Sage Weil (cherry picked from commit 879fd0c192f5d3c6afd36c2df359806ea95827b8) --- src/osd/OSD.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 77ed17aed02..bda863bf13f 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -2104,12 +2104,6 @@ void OSD::load_pgs() continue; } - if (!osdmap->have_pg_pool(pgid.pool())) { - dout(10) << __func__ << ": skipping PG " << pgid << " because we don't have pool " - << pgid.pool() << dendl; - continue; - } - if (pgid.preferred() >= 0) { dout(10) << __func__ << ": skipping localized PG " << pgid << dendl; // FIXME: delete it too, eventually -- 2.47.3