On Wed, Feb 06, 2013 at 01:31:40PM +0100, Benoît Canet wrote:
> +/* Deduplicate all the cluster that can be deduplicated.
> + *
> + * Next it compute the number of non deduplicable sectors to come while
> storing
s/compute/computes/
> + * the hashes of these sectors in a linked list for later us
> > +/*
> > + * Build a QCowHashNode from a given QCowHash and insert it into the tree
> > + *
> > + * @hash: the given QCowHash
> > + */
> > +static void qcow2_build_and_insert_hash_node(BlockDriverState *bs,
> > + QCowHash *hash)
> > +{
> > +BDRVQco
On Wed, Feb 06, 2013 at 01:31:40PM +0100, Benoît Canet wrote:
> Signed-off-by: Benoit Canet
> ---
> block/qcow2-dedup.c | 436
> +++
> block/qcow2.h |5 +
> 2 files changed, 441 insertions(+)
>
> diff --git a/block/qcow2-dedup.c b/block
Signed-off-by: Benoit Canet
---
block/qcow2-dedup.c | 436 +++
block/qcow2.h |5 +
2 files changed, 441 insertions(+)
diff --git a/block/qcow2-dedup.c b/block/qcow2-dedup.c
index 4e99eb1..5901749 100644
--- a/block/qcow2-dedup.c
+++ b/bl