From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNfYt-0008N0-I8 for qemu-devel@nongnu.org; Thu, 14 Jul 2016 08:16:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNfYo-0007Zn-I7 for qemu-devel@nongnu.org; Thu, 14 Jul 2016 08:16:15 -0400 Date: Thu, 14 Jul 2016 13:16:07 +0100 From: Stefan Hajnoczi Message-ID: <20160714121607.GG15476@stefanha-x1.localdomain> References: <1466610674-23157-1-git-send-email-eblake@redhat.com> <1466610674-23157-5-git-send-email-eblake@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kadn00tgSopKmJ1H" Content-Disposition: inline In-Reply-To: <1466610674-23157-5-git-send-email-eblake@redhat.com> Subject: Re: [Qemu-devel] [Qemu-block] [PATCH 04/17] block: Convert bdrv_aio_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 --kadn00tgSopKmJ1H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 22, 2016 at 09:51:01AM -0600, Eric Blake wrote: > Another step towards byte-based interfaces everywhere. Replace > the sector-based bdrv_aio_discard() with a new byte-based > bdrv_aio_pdiscard(), which silently ignores any unaligned head > or tail. Driver callbacks will be converted in followup patches. >=20 > Signed-off-by: Eric Blake > --- > include/block/block.h | 6 +++--- > block/block-backend.c | 3 ++- > block/io.c | 15 +++++++-------- > block/trace-events | 2 +- > 4 files changed, 13 insertions(+), 13 deletions(-) Reviewed-by: Stefan Hajnoczi --kadn00tgSopKmJ1H Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJXh4KHAAoJEJykq7OBq3PIklAIAKyBqOHEHaaULTpl5ZPmS4tK 88L64Wxgk4K8HGp2UDQJ3TWKXx7gFhFqW6kueHdXB9H/3wLSWxsw2VFWah+EUJgz oikrlwrwjfSRGRO7OuYjrWWL8HVwApoe/tssg6ZfJioM+da9pnb+Kt4NbhPGUCm2 Kb6lXKmwWbITIqh7r7SO9vvxDx/2vx6c1iAjAKc3a8z+kfRgrn4PbNlPTDM78IS4 fFqTC81hPiOoya2mX4c0ekhBZg1YFG3QMPnf3ksoF3uG66b4uASEp9Myiml5yiiP lpv1vkWRNmuzCBprAboQ5IspBJNHLxacL2+loZZUK3hdtkfdwv6R8YkB7PTJ/p0= =zsjV -----END PGP SIGNATURE----- --kadn00tgSopKmJ1H--