]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: do not ignore deleted pgs on startup
authorSage Weil <sage@redhat.com>
Fri, 23 Jan 2015 18:47:44 +0000 (10:47 -0800)
committerSage Weil <sage@redhat.com>
Fri, 23 Jan 2015 18:55:04 +0000 (10:55 -0800)
These need to get instantiated so that we can complete the removal process.

Fixes: #10617
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc

index 4d6a01da7d242902d23c77d7697428dfee5b7e66..07782e7da532d4f62eb04641b0389ab7c3de3c1b 100644 (file)
@@ -2776,12 +2776,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