From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avRe6-0002R4-3A for qemu-devel@nongnu.org; Wed, 27 Apr 2016 11:44:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avRe5-0003sQ-4r for qemu-devel@nongnu.org; Wed, 27 Apr 2016 11:44:58 -0400 References: <1461750767-23273-1-git-send-email-kwolf@redhat.com> <1461750767-23273-6-git-send-email-kwolf@redhat.com> From: Eric Blake Message-ID: <5720DE73.5040108@redhat.com> Date: Wed, 27 Apr 2016 09:44:51 -0600 MIME-Version: 1.0 In-Reply-To: <1461750767-23273-6-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xn8vDkNHGei6wCBANBPpaiFm7tgLg1Jwn" Subject: Re: [Qemu-devel] [PATCH 05/17] block: Introduce .bdrv_co_preadv/pwritev BlockDriver function List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: famz@redhat.com, sw@weilnetz.de, qemu-devel@nongnu.org, mreitz@redhat.com, stefanha@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --xn8vDkNHGei6wCBANBPpaiFm7tgLg1Jwn Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 04/27/2016 03:52 AM, Kevin Wolf wrote: > Many parts of the block layer are already byte granularity. The block > driver interface, however, was still missing an interface that allows > making use of this. This patch introduces a new BlockDriver interface, > which is based on coroutines, vectored, has flags and uses a byte > granularity. This is now the preferred interface for new drivers. >=20 > Signed-off-by: Kevin Wolf > --- > block/io.c | 28 ++++++++++++++++++++++------ > include/block/block_int.h | 4 ++++ > 2 files changed, 26 insertions(+), 6 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --xn8vDkNHGei6wCBANBPpaiFm7tgLg1Jwn 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/ iQEcBAEBCAAGBQJXIN5zAAoJEKeha0olJ0NqURwH/1zD9hhvGQVYI1mbXqSoPG3M qe5nG8ZiA9NR30ed56xEDRnh/fi+qqdJfYJ6lQmqX/EgXDaWXY3Uve5zNrak1k45 Y6O2YDYZW6d9O5FX0HONRk/frQjja5PVEd/c4tjyE+S3uGKZrD13Mamu8My/K8Lg ndCB+/3HdE7g0phckpgDhJ0THfdR5o4H31COkWFegPkI7bGH1a7IaNS8WvfheT25 dFP/sJiyLiTU2xM/+hOBU30oD8y+RHhlIDHbI3R5lkHKvVaN7puHQZHd8Kju2/Iy khAoa/hpMUZMPIMs8NwUMe08/UCxcLQUEC22ePjcX853Y4q4KW8uWf0LWHKNraA= =F2Vb -----END PGP SIGNATURE----- --xn8vDkNHGei6wCBANBPpaiFm7tgLg1Jwn--