From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvW5D-000676-SA for qemu-devel@nongnu.org; Wed, 16 Jan 2013 11:43:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvW5C-0003Jf-JZ for qemu-devel@nongnu.org; Wed, 16 Jan 2013 11:43:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:4398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvW5C-0003Jb-AP for qemu-devel@nongnu.org; Wed, 16 Jan 2013 11:43:22 -0500 Message-ID: <50F6D5A2.9030901@redhat.com> Date: Wed, 16 Jan 2013 09:30:26 -0700 From: Eric Blake MIME-Version: 1.0 References: <1358351321-4891-1-git-send-email-benoit@irqsave.net> <1358351321-4891-3-git-send-email-benoit@irqsave.net> In-Reply-To: <1358351321-4891-3-git-send-email-benoit@irqsave.net> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2LVPAKGGOWXAXNKAHKAXU" Subject: Re: [Qemu-devel] [RFC V5 02/62] qcow2: Add deduplication structures and fields. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?QmVub8OudCBDYW5ldA==?= Cc: kwolf@redhat.com, pbonzini@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2LVPAKGGOWXAXNKAHKAXU Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 01/16/2013 08:47 AM, Beno=C3=AEt Canet wrote: > Signed-off-by: Benoit Canet > --- > block/qcow2.h | 72 +++++++++++++++++++++++++++++++++++++++++++++++++= +++++++- > 1 file changed, 71 insertions(+), 1 deletion(-) >=20 > 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 rest= art > + * also indicate that the on disk dedup hash must be ignored and disca= rded s/restart also/restarts. Also,/ > +/* deduplication node */ > +typedef struct { > + QCowHash hash; > + uint64_t physical_sect; /* where the cluster is stored on di= sk */ > + uint64_t first_logical_sect; /* logical sector of the first occur= ence of s/occurence/occurrence/ --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2LVPAKGGOWXAXNKAHKAXU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJQ9tWiAAoJEKeha0olJ0NqbmkH/01wq6QQFgxnZ8G/VX5pmKXS Fr3UmLbjrFUm/jqUYIXG1v6oaXVPCVI4GismlBZfKTbMnU2R5W33BDCO1kpR6tNh 8pM27SfvC02+v7VCvrc6K8lsYjyJbpbtrHdzcorase/V/vynkq8NIXfuUAn7COWs oIAAUndDi/VklyynAT5NCsxjhIZ+wamDtyike5Mnrjp7UpLFWoTxNWCFOhdK6beV 7hXdn8fif1EWU3U1iLJWsYeR6rOoYThb0IS1UpTsc02OjVddat45TefzkBOTpmGK VyqAImOtXKwnOBuCL++sFCAk+AQGM/+nAdP2Gl8uJkTXY4ibMDdNzzBNJNuZ7EA= =xoev -----END PGP SIGNATURE----- ------enig2LVPAKGGOWXAXNKAHKAXU--