Received: from eggs.gnu.org ([2001:4830:134:3::10]:36233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b32MW-0006dE-Sl for qemu-devel@nongnu.org; Wed, 18 May 2016 10:22:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b32MV-0001Bk-PU for qemu-devel@nongnu.org; Wed, 18 May 2016 10:22:12 -0400 Date: Wed, 18 May 2016 16:22:04 +0200 From: Kevin Wolf Message-ID: <20160518142204.GE4820@noname.str.redhat.com> References: <573B8085.4010706@redhat.com> <1463574448-30065-1-git-send-email-kwolf@redhat.com> <573C7846.6010306@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MW5yreqqjyrRcusr" Content-Disposition: inline In-Reply-To: <573C7846.6010306@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 3/3] qemu-iotests: Some more write_zeroes tests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: qemu-block@nongnu.org, mreitz@redhat.com, den@openvz.org, qemu-devel@nongnu.org --MW5yreqqjyrRcusr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Am 18.05.2016 um 16:12 hat Eric Blake geschrieben: > On 05/18/2016 06:27 AM, Kevin Wolf wrote: > > This covers some more write_zeroes cases which are relevant for the > > recent qcow2 optimisations that check the allocation status of the > > backing file for partial cluster write_zeroes requests. > >=20 > > This needs to be separate from 034 because we can only support qcow2 in > > this test case for multiple reasons: We check the allocation status > > after write_zeroes with 'qemu-img map' and the optimised behaviour that > > produces zero clusters is only implemented in qcow2; second, the map > > command returns offsets that are qcow2 specific; and finally, we also > > use 512 byte clusters which aren't supported for formats like qed. > >=20 > > Signed-off-by: Kevin Wolf > > --- > >=20 > > v2: > > - Some more test cases, including one suggested by Eric > > - Comments in the test script that visualise each case with ASCII art >=20 > Nice! >=20 > > +# qcow2 specific bdrv_write_zeroes tests with backing files (complemen= ts 034) >=20 > Maybe also worth a one line tweak to 034 to give a comment pointing to > this file (so the two mutually reference each other), but that doesn't > require a respin. >=20 > Reviewed-by: Eric Blake Thanks, I pushed this to my block branch now. Kevin --MW5yreqqjyrRcusr Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJXPHqMAAoJEH8JsnLIjy/We7IP+wXLgziJq9iOElJKElvGkq5q ecs1ddc41Xky7xBwkiC1DHxlhDy6ODug7oeum8lNUV6DMq2olE77ik6fR6IclI7f Ryw6R51h+K3qbTOnbgGwjYmKQweW38KTQBaXe4naoPd1OE5DXmNHjXcqj7kjNnN6 9Mx7i011UxA525ra7Hu0fq2GoQIyxMM2rRb1MjHxpGATn36Ervguj2H/UF901yIs kYSRmCChwG4wwT605dMzyLLHsq0CGasP8BNe3CM+jaCFHq3Uyp7QNPdwq6JJIiRw DfkaIXQZnuuX+TjmSyieNMazaVyaGDf84WtHXYtLdS/Y7ca3FviUkpsK9prljb4G c+SljaNQE9cYrt+diKISVJhPw/EXApHqC22/Zsf6iItq/e/9gOU8Fc/DkD1wKtGK zOVm5h+74KNUHrU6/RFatPzJOGTi4xuQBbx8TZVXDDTnMQoMB40UqhntfDvXIQbu Hb5Tf0LNrY1UgULw6hXXpmpXTV3FXuJRaUfrm1IGF+eRubo1lwO4rT4NVk8SmZvp WGR3sfT70tPt6IeyZZfXNbCAHpLcoavxyT5Smx9vUcshoJRmqpcQ2ujehSsV1aKE u53RihUaN66dLAPsOVnla2y0v8miPmsIJrTojluxhw3X1nzlld0WSC5cz8umZu8j uj+o4AFs0mqzQ38ij0CI =fGl9 -----END PGP SIGNATURE----- --MW5yreqqjyrRcusr--