mirror of
https://github.com/ceph/ceph
synced 2025-04-01 00:26:47 +00:00
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:
parent
f95e82b134
commit
6e7b86a24f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user