]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
OSD: fix wake_pg_waiters revert error in _open_lock_pg
authorSamuel Just <sam.just@inktank.com>
Tue, 5 Aug 2014 20:00:01 +0000 (13:00 -0700)
committerSamuel Just <sam.just@inktank.com>
Thu, 7 Aug 2014 18:48:54 +0000 (11:48 -0700)
231fe1b685bfbd3db9c81709ca39a29d696b13ad reintroduced erroneously
this call to wake_pg_waiters.  All _create_lock_pg callers handle
calling wake_pg_waiters after the pg lock has been dropped.

Fixes: #8691
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/OSD.cc

index cf63ba75d216955d75a80dedee7c71c1b5f69d30..08b6bcc295884ed70e10b2e9edc615b201c22921 100644 (file)
@@ -2616,7 +2616,6 @@ PG *OSD::_open_lock_pg(
     pg_map[pgid] = pg;
     pg->get("PGMap");  // because it's in pg_map
     service.pg_add_epoch(pg->info.pgid, createmap->get_epoch());
-    wake_pg_waiters(pg, pgid);
   }
   return pg;
 }