Received: from eggs.gnu.org ([2001:4830:134:3::10]:58346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8tsC-0006sv-L0 for qemu-devel@nongnu.org; Mon, 21 Nov 2016 14:03:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8tsB-0006lR-OX for qemu-devel@nongnu.org; Mon, 21 Nov 2016 14:03:24 -0500 References: <1479749488-31808-1-git-send-email-kwolf@redhat.com> <1479749488-31808-5-git-send-email-kwolf@redhat.com> From: Eric Blake Message-ID: <92133ab5-60e3-6382-ca19-bb700314ffcb@redhat.com> Date: Mon, 21 Nov 2016 13:03:15 -0600 MIME-Version: 1.0 In-Reply-To: <1479749488-31808-5-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6BRS8utP77IsMn4sITWILRAWcoD3v0nVW" Subject: Re: [Qemu-devel] [PATCH 4/8] quorum: Do cleanup in caller coroutine List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf , qemu-block@nongnu.org Cc: berto@igalia.com, mreitz@redhat.com, qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --6BRS8utP77IsMn4sITWILRAWcoD3v0nVW From: Eric Blake To: Kevin Wolf , qemu-block@nongnu.org Cc: berto@igalia.com, mreitz@redhat.com, qemu-devel@nongnu.org Message-ID: <92133ab5-60e3-6382-ca19-bb700314ffcb@redhat.com> Subject: Re: [PATCH 4/8] quorum: Do cleanup in caller coroutine References: <1479749488-31808-1-git-send-email-kwolf@redhat.com> <1479749488-31808-5-git-send-email-kwolf@redhat.com> In-Reply-To: <1479749488-31808-5-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11/21/2016 11:31 AM, Kevin Wolf wrote: > Instead of calling quorum_aio_finalize() deeply nested in what used > to be an AIO callback, do it in the same functions that allocated the > AIOCB. >=20 > Signed-off-by: Kevin Wolf > Reviewed-by: Alberto Garcia > --- > block/quorum.c | 15 +++++++++------ > 1 file changed, 9 insertions(+), 6 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --6BRS8utP77IsMn4sITWILRAWcoD3v0nVW 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/ iQEcBAEBCAAGBQJYM0TzAAoJEKeha0olJ0NqDrsH/A+qBm60Ja6vNI4KyQTwqN7K TROQqpp8XZrj26v90yCnt5Czg2QPxIVe0k2XjAM9VPckDvBxy4XONleLvoGt9C0S J0hbCrod9otT+XpDCgPPgGqZne0wkvd4ntB8tJ+mHxK//cjtVKcpjJO1MRvhehF4 yLrgpcJiTUYalJypctAhjLhq567dQgG1Fll1LkOq6tyb+oRjQP6o0oNwdjHVR10q c3BoRm0T0KK1F13UHW/lWK3FO09uOocNJVAhftaOM1rf78+YJ/RYH7jBRNDF9ebZ DOHFBCHXd9uxBrvjiLuqE1oyxEHKugJ1xprlz7nw1nXf2FQ3shnJ/01zqF0NTE4= =EUWA -----END PGP SIGNATURE----- --6BRS8utP77IsMn4sITWILRAWcoD3v0nVW--