From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNfY7-0007nE-Sw for qemu-devel@nongnu.org; Thu, 14 Jul 2016 08:15:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNfY6-0007UF-0M for qemu-devel@nongnu.org; Thu, 14 Jul 2016 08:15:26 -0400 Date: Thu, 14 Jul 2016 13:15:23 +0100 From: Stefan Hajnoczi Message-ID: <20160714121523.GE15476@stefanha-x1.localdomain> References: <1466610674-23157-1-git-send-email-eblake@redhat.com> <1466610674-23157-3-git-send-email-eblake@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h56sxpGKRmy85csR" Content-Disposition: inline In-Reply-To: <1466610674-23157-3-git-send-email-eblake@redhat.com> Subject: Re: [Qemu-devel] [Qemu-block] [PATCH 02/17] block: Convert bdrv_discard() to byte-based List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: qemu-devel@nongnu.org, kwolf@redhat.com, Fam Zheng , Stefan Hajnoczi , qemu-block@nongnu.org, Max Reitz --h56sxpGKRmy85csR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 22, 2016 at 09:50:59AM -0600, Eric Blake wrote: > Another step towards byte-based interfaces everywhere. Replace > the sector-based bdrv_discard() with a new byte-based > bdrv_pdiscard(), which silently ignores any unaligned head > or tail. >=20 > Signed-off-by: Eric Blake > --- > include/block/block.h | 2 +- > block/block-backend.c | 3 ++- > block/io.c | 19 +++++++++---------- > block/qcow2-refcount.c | 4 +--- > 4 files changed, 13 insertions(+), 15 deletions(-) Reviewed-by: Stefan Hajnoczi --h56sxpGKRmy85csR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXh4JbAAoJEJykq7OBq3PImwwH/3GZWyL4W57bNYigzBvWwTjh TU1iWxqw7MXZsyJS6QsXtR6XWeCjKjyIg6/aJyDDGIVmCgUcA7d5CRJ1MwjfO4U3 n88y2UndU5IH25iZfxlm+kS2rBGo0OO9K9kOP2aUPgwSeVBpphYmokZOwbFAAWjj hL8NA9TD/k0z+iqELl2+dmPLdH1OeEbiGl9vxq6pqICFgy+bR1sINcjDGSP53mD7 OusTXHvmKy6JUxSJ7WFi4gJxwMdyTMvkPt8xBq6e3b51CNTWxID2oybDOMPSFUPO Bk746eZIR/KN6Mhju0cp9bxgyE8PaB8m+vUp/s7zNUPAq43yvQcuwehMkwEXFxs= =V161 -----END PGP SIGNATURE----- --h56sxpGKRmy85csR--