From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0A2e-00088u-Ph for qemu-devel@nongnu.org; Fri, 19 Jul 2013 08:44:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V0A2d-0003yl-NR for qemu-devel@nongnu.org; Fri, 19 Jul 2013 08:44:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44715) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V0A2d-0003yX-FV for qemu-devel@nongnu.org; Fri, 19 Jul 2013 08:44:11 -0400 Message-ID: <51E93496.9060503@redhat.com> Date: Fri, 19 Jul 2013 06:44:06 -0600 From: Eric Blake MIME-Version: 1.0 References: <1373992168-26043-1-git-send-email-pbonzini@redhat.com> <1373992168-26043-5-git-send-email-pbonzini@redhat.com> In-Reply-To: <1373992168-26043-5-git-send-email-pbonzini@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sM924VrVSdsQsXkXxMc1jtrIrfxv3OxIW" Subject: Re: [Qemu-devel] [PATCH v2 04/17] block: make bdrv_co_is_allocated static List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: famz@redhat.com, pl@kamp.de, qemu-devel@nongnu.org, stefanha@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --sM924VrVSdsQsXkXxMc1jtrIrfxv3OxIW Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/16/2013 10:29 AM, Paolo Bonzini wrote: > bdrv_is_allocated can detect coroutine context and go through a fast > path, similar to other block layer functions. >=20 > Signed-off-by: Paolo Bonzini > --- > block.c | 24 +++++++++++++++--------- > block/raw.c | 2 +- > block/stream.c | 4 ++-- > include/block/block.h | 2 -- > 4 files changed, 18 insertions(+), 14 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --sM924VrVSdsQsXkXxMc1jtrIrfxv3OxIW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJR6TSWAAoJEKeha0olJ0NqV0YIAIfIl0qYce1EWgnKH0DqojsH 1XXRB6ZnaZ8J+A07ZszmmSZA8wVwZXbbTfRIqStQnpGhlaRA6akMF+HFXZh8uR+j hAdWdj0KvqBCXgqZADSfXpfX1rj96QRSoRHPdIBOhdR0AbpZA+Xy3wovW80WmnH8 0bLr2FUV8nMxI9o6KZyJ9qUZvJulvZCOCc2vozUXhz6hyROYvs8Q/5Yc48amg0Gk nvSdOI5jnpzRxfcF4K08eKpCDTCb42xuW486XBb3MM1xdbwLOPmIJ+asQ9w67+zi J+WchfQqwoTPg0RhQaXGBcEjovHrasZ22GYJrPiRhUNlbSRqbo7aoILpW7r9cAs= =JcTj -----END PGP SIGNATURE----- --sM924VrVSdsQsXkXxMc1jtrIrfxv3OxIW--