1
0
mirror of https://github.com/ceph/ceph synced 2024-12-19 09:57:05 +00:00

osd/Replicated: mark obc !exists on snap trim

Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
Sage Weil 2014-01-05 17:43:57 -08:00
parent 48306e47d0
commit f3ce2549c5

View File

@ -2184,6 +2184,7 @@ ReplicatedPG::RepGather *ReplicatedPG::trim_object(const hobject_t &coid)
delta.num_object_clones--;
delta.num_bytes -= snapset.clone_size[last];
info.stats.stats.add(delta, obc->obs.oi.category);
obc->obs.exists = false;
snapset.clones.erase(p);
snapset.clone_overlap.erase(last);