OSD: fix wake_pg_waiters revert error in _open_lock_pg

231fe1b685 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>
This commit is contained in:
Samuel Just 2014-08-05 13:00:01 -07:00
parent f95e82b134
commit 6e7b86a24f

View 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;
}