| Submitter | Benoît Canet |
|---|---|
| Date | Feb. 6, 2013, 12:32 p.m. |
| Message ID | <1360153939-9563-10-git-send-email-benoit@irqsave.net> |
| Download | mbox | patch |
| Permalink | /patch/218652/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/block/qcow2-dedup.c b/block/qcow2-dedup.c index 5a79906..e96ab00 100644 --- a/block/qcow2-dedup.c +++ b/block/qcow2-dedup.c @@ -841,6 +841,7 @@ static void qcow2_remove_hash_node(BlockDriverState *bs, BDRVQcowState *s = bs->opaque; g_tree_remove(s->dedup_tree_by_sect, &hash_node->physical_sect); g_tree_remove(s->dedup_tree_by_hash, &hash_node->hash); + s->dedup_metrics.ram_hash_deletions++; } /* This function removes a hash_node from the trees given a physical sector