From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEem4-0005Ec-4b for qemu-devel@nongnu.org; Tue, 05 Aug 2014 09:27:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEelz-00013r-4f for qemu-devel@nongnu.org; Tue, 05 Aug 2014 09:27:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEely-00013n-SC for qemu-devel@nongnu.org; Tue, 05 Aug 2014 09:27:27 -0400 Message-ID: <53E0DBBA.6060403@redhat.com> Date: Tue, 05 Aug 2014 07:27:22 -0600 From: Eric Blake MIME-Version: 1.0 References: <1406936961-20356-1-git-send-email-mreitz@redhat.com> <1406936961-20356-7-git-send-email-mreitz@redhat.com> In-Reply-To: <1406936961-20356-7-git-send-email-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="JJQ6HKRIeAjexnAvbolbb1bLWDulCDwDD" Subject: Re: [Qemu-devel] [PATCH v2 6/7] block/qcow2: Simplify shared L2 handling in amend List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-devel@nongnu.org Cc: Kevin Wolf , =?UTF-8?B?QmVub8OudCBDYW5ldA==?= , Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --JJQ6HKRIeAjexnAvbolbb1bLWDulCDwDD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/01/2014 05:49 PM, Max Reitz wrote: > Currently, we have a bitmap for keeping track of which clusters have > been created during the zero cluster expansion process. This was > necessary because we need to properly increase the refcount for shared > L2 tables. >=20 > However, now we can simply take the L2 refcount and use it for the > cluster allocated for expansion. This will be the correct refcount and > therefore we don't have to remember that cluster having been allocated > any more. >=20 > Signed-off-by: Max Reitz > --- > block/qcow2-cluster.c | 90 ++++++++++++++++---------------------------= -------- > 1 file changed, 28 insertions(+), 62 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --JJQ6HKRIeAjexnAvbolbb1bLWDulCDwDD 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 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJT4Nu6AAoJEKeha0olJ0NqfJUIAItnPHurDTCVaIsBpBScAKba LiQZhOlZiKEwJwTQHByqvavYUKvTgRHma042jKylpYspnaGjNqFOm0dx/NfgtGJQ lOfD8tHNkazkEWrN9vNZDtRjhiizBFgOw0hEnJco61bstm3THKI/RkgU7IcwG7Ud f/9HBFaPt4O9KIHCpRptGG2nSo6fGzYzx/1fj3WG0EUFZHTAJcxX8gtrRHA6TGQH mSr8L8TrNdriOetAR/RqACrrlYDLhQQhqHPmrZkLyGHEqEQfWyNlorkKaZgLTizN v6BfQzjjbSd0J2DxnFRs9SybFDgz7T7t+XbCTg4ILB6oYRPmwJlOfU5g3VIbMW4= =dUCL -----END PGP SIGNATURE----- --JJQ6HKRIeAjexnAvbolbb1bLWDulCDwDD--