From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eba8e-0006Di-Ra for qemu-devel@nongnu.org; Tue, 16 Jan 2018 17:55:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eba8d-0004rc-UC for qemu-devel@nongnu.org; Tue, 16 Jan 2018 17:55:28 -0500 References: <8f5a1687d5999f3eecb989dd25b57144cc850b28.1513342045.git.berto@igalia.com> From: Eric Blake Message-ID: Date: Tue, 16 Jan 2018 16:55:16 -0600 MIME-Version: 1.0 In-Reply-To: <8f5a1687d5999f3eecb989dd25b57144cc850b28.1513342045.git.berto@igalia.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sAxT12jKhhlREHkW3yIIuYnAM5yGmczox" Subject: Re: [Qemu-devel] [PATCH v2 22/32] qcow2: Update discard_single_l2() to support L2 slices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alberto Garcia , qemu-devel@nongnu.org Cc: Kevin Wolf , "Denis V . Lunev" , qemu-block@nongnu.org, Max Reitz This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --sAxT12jKhhlREHkW3yIIuYnAM5yGmczox From: Eric Blake To: Alberto Garcia , qemu-devel@nongnu.org Cc: Kevin Wolf , "Denis V . Lunev" , qemu-block@nongnu.org, Max Reitz Message-ID: Subject: Re: [Qemu-devel] [PATCH v2 22/32] qcow2: Update discard_single_l2() to support L2 slices References: <8f5a1687d5999f3eecb989dd25b57144cc850b28.1513342045.git.berto@igalia.com> In-Reply-To: <8f5a1687d5999f3eecb989dd25b57144cc850b28.1513342045.git.berto@igalia.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 12/15/2017 06:53 AM, Alberto Garcia wrote: > discard_single_l2() limits the number of clusters to be discarded to > the amount that fits inside an L2 table. Since we'll be loading L2 > slices instead of full tables we need to update that limit. >=20 > Apart from that, this function doesn't need any additional changes, so > this patch simply updates the variable name from l2_table to l2_slice. >=20 > Signed-off-by: Alberto Garcia > --- > block/qcow2-cluster.c | 20 ++++++++++---------- > 1 file changed, 10 insertions(+), 10 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org --sAxT12jKhhlREHkW3yIIuYnAM5yGmczox Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEzBAEBCAAdFiEEccLMIrHEYCkn0vOqp6FrSiUnQ2oFAlpegtQACgkQp6FrSiUn Q2ontwf+NlTZ9rbYwcZ9coCossB60QNa83JrD4m2TIY73UdK+ctL7B2GQ3L4X7Ih cFdYN0GWShw3II3zD4zazfML1mHDiSkuhDJMzODxk67uRfgJq4GstisKD3cokCgT 8egfrx+lnyNSPSd6lxnESDPgrL++c1B6+1/eO9KETM5TRgiS0/vtIjEcCTcHQ+ar L9wNS2a3+4+wlMLhbowp8xEhsnyVlDpYHdjnMHwa/jDDNA98RxLJHdS9Nr0Dq4ze elUzd7RiawFOOp4s0a8TWQYMFj2JiX/T08dICB3IM4UJwAun7PdoKWHJFqZCyc28 XYxEJdYfbl71gTP8W6QBN23Cm6jGdg== =xYZh -----END PGP SIGNATURE----- --sAxT12jKhhlREHkW3yIIuYnAM5yGmczox--