mirror of
https://github.com/ceph/ceph
synced 2025-03-09 09:48:09 +00:00
Merge pull request #3747 from ceph/wip-10892
osd: clear obc cache on_shutdown Reviewed-by: Samuel Just <sjust@redhat.com>
This commit is contained in:
commit
9264d4eaf7
@ -10338,6 +10338,7 @@ void ReplicatedPG::on_shutdown()
|
||||
pgbackend->on_change();
|
||||
|
||||
context_registry_on_change();
|
||||
object_contexts.clear();
|
||||
|
||||
osd->remote_reserver.cancel_reservation(info.pgid);
|
||||
osd->local_reserver.cancel_reservation(info.pgid);
|
||||
|
@ -1009,7 +1009,7 @@ protected:
|
||||
pg(p), obc(o) {}
|
||||
void finish(int r) {
|
||||
pg->object_context_destructor_callback(obc);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
int find_object_context(const hobject_t& oid,
|
||||
|
Loading…
Reference in New Issue
Block a user