From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2ihd-0004fb-4W for qemu-devel@nongnu.org; Tue, 17 May 2016 13:22:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2ihb-0006BN-Po for qemu-devel@nongnu.org; Tue, 17 May 2016 13:22:40 -0400 References: <1463503863-19009-1-git-send-email-kwolf@redhat.com> <1463503863-19009-3-git-send-email-kwolf@redhat.com> From: Eric Blake Message-ID: <573B5359.8000906@redhat.com> Date: Tue, 17 May 2016 11:22:33 -0600 MIME-Version: 1.0 In-Reply-To: <1463503863-19009-3-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="26FoBxTqUbfEKOUE2i3Lj0a7o2mUsADKA" Subject: Re: [Qemu-devel] [PATCH 2/3] qcow2: Fix write_zeroes with partially allocated backing file cluster List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: mreitz@redhat.com, den@openvz.org, qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --26FoBxTqUbfEKOUE2i3Lj0a7o2mUsADKA Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 05/17/2016 10:51 AM, Kevin Wolf wrote: > In order to correctly check whether a given cluster is read as zero, we= > don't only need to check whether bdrv_get_block_status_above() sets > BDRV_BLOCK_ZERO, but also if all sectors for the whole cluster have the= > same status. >=20 > Signed-off-by: Kevin Wolf > --- > block/qcow2.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --26FoBxTqUbfEKOUE2i3Lj0a7o2mUsADKA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJXO1NZAAoJEKeha0olJ0Nq4BYH/Alv5ZSm2VeHUCsDjaNpOztq XWVc6eELauc4xllVm67SjCJWnftdLaxrftvwyXLn4/g9f4ApTNi9wJDz1Pzr1A1K FulzdCFXYB4PzVgUNdbC6Jzp8C5PqPGSnWe8LLnJvkOrjP3j2tEOnN8k2qDLGeO3 qKf9a0MayPQkdVwTMopsLpLsvEualSqxow/l/3cZvYKfqW+BMVLiWAaLY+Jph01x qje8tkT2zFoq/xIFYM4vaF27W44mv2xGiruuF/tB2/hHmMAZZyg+EJqDeDlzLid+ p/1A4ZWF1cV6MNuYu/TM5Mw2MLY4mhcIIY0MMrnS1IF2hqY4/QvBZYqu4dK9WlQ= =EC12 -----END PGP SIGNATURE----- --26FoBxTqUbfEKOUE2i3Lj0a7o2mUsADKA--