mirror of
https://github.com/ceph/ceph
synced 2025-02-23 02:57:21 +00:00
OSD: flush pg osr on shutdown prior to put()
Fixes: #4538 Signed-off-by: Samuel Just <sam.just@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
4fafedc960
commit
91a8d93c91
@ -1215,6 +1215,7 @@ int OSD::shutdown()
|
||||
p->second->on_shutdown();
|
||||
p->second->kick();
|
||||
p->second->unlock();
|
||||
p->second->osr->flush();
|
||||
p->second->put();
|
||||
}
|
||||
pg_map.clear();
|
||||
|
Loading…
Reference in New Issue
Block a user