| Submitter | Benoît Canet |
|---|---|
| Date | Jan. 16, 2013, 3:48 p.m. |
| Message ID | <1358351321-4891-45-git-send-email-benoit@irqsave.net> |
| Download | mbox | patch |
| Permalink | /patch/213033/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/block/qcow2-dedup.c b/block/qcow2-dedup.c index 64e5a13..4a1b184 100644 --- a/block/qcow2-dedup.c +++ b/block/qcow2-dedup.c @@ -991,6 +991,7 @@ void qcow2_dedup_refcount_zero_reached(BlockDriverState *bs, /* remove from ram if present so we won't dedup with it anymore */ qcow2_remove_hash_node_by_sector(bs, physical_sect); + s->dedup_metrics.deleted_clusters++; } /* Force to use a new physical cluster and QCowHashNode when the refcount pass