From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avnlJ-0004AQ-NU for qemu-devel@nongnu.org; Thu, 28 Apr 2016 11:21:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avnlB-0004uT-QX for qemu-devel@nongnu.org; Thu, 28 Apr 2016 11:21:53 -0400 References: <1461849406-29743-1-git-send-email-kwolf@redhat.com> <1461849406-29743-6-git-send-email-kwolf@redhat.com> From: Eric Blake Message-ID: <57222A77.7070308@redhat.com> Date: Thu, 28 Apr 2016 09:21:27 -0600 MIME-Version: 1.0 In-Reply-To: <1461849406-29743-6-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="LecTP1lvGg82pxgLNONOnqCxnojX75XVG" Subject: Re: [Qemu-devel] [PATCH v2 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) --LecTP1lvGg82pxgLNONOnqCxnojX75XVG Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 04/28/2016 07:16 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 --LecTP1lvGg82pxgLNONOnqCxnojX75XVG 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/ iQEcBAEBCAAGBQJXIip4AAoJEKeha0olJ0Nqu8IH/1qCqbbLcsPQl42M7w4+osc6 npiU9efQw6bHL/9VThDnJ5bACm4eaSRC4VX091sAprV5jJ/gBb4ExFV3FGYqVCEz DGckOkseH+f/Js5Dj4J6FT/9zPmdzzXPOzMfL/9oJnGKqo2XzEs3XECyrD5BxoNE jL5ZczzlZK7oE9vckg4pqMw43TIjYiF9YMT1BeNlObtxbhCG9GX5QXGSSCcel39D WBSTsq5QhMxXOX8HOQcXTcJKTz+4U3x4xdxOryLQNuZv3rBXBjzhI4YSwwF9spkf nodUPM3Zn1XfLMuxpIXyZNGsw4lMk1TuramPzGnobDpWoU0vhLPshOGLNLj0Ilw= =VGPb -----END PGP SIGNATURE----- --LecTP1lvGg82pxgLNONOnqCxnojX75XVG--