On 01/16/2013 08:47 AM, Benoît Canet wrote: > Signed-off-by: Benoit Canet <[email protected]> > --- > block/qcow2.h | 72 > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 71 insertions(+), 1 deletion(-) > > diff --git a/block/qcow2.h b/block/qcow2.h > index 718b52b..b31b64e 100644 > --- a/block/qcow2.h > +++ b/block/qcow2.h > @@ -43,6 +43,10 @@ > #define QCOW_OFLAG_COPIED (1LL << 63) > /* indicate that the cluster is compressed (they never have the copied flag) > */ > #define QCOW_OFLAG_COMPRESSED (1LL << 62) > +/* indicate that the cluster must be processed when deduplication restart > + * also indicate that the on disk dedup hash must be ignored and discarded
s/restart also/restarts. Also,/
> +/* deduplication node */
> +typedef struct {
> + QCowHash hash;
> + uint64_t physical_sect; /* where the cluster is stored on disk */
> + uint64_t first_logical_sect; /* logical sector of the first occurence of
s/occurence/occurrence/
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
