Received: from eggs.gnu.org ([2001:4830:134:3::10]:35704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c51QP-0005hk-MC for qemu-devel@nongnu.org; Thu, 10 Nov 2016 21:18:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c51QO-0006ZU-PH for qemu-devel@nongnu.org; Thu, 10 Nov 2016 21:18:41 -0500 References: <1478798349-28983-1-git-send-email-kwolf@redhat.com> <1478798349-28983-5-git-send-email-kwolf@redhat.com> From: Eric Blake Message-ID: Date: Thu, 10 Nov 2016 20:18:31 -0600 MIME-Version: 1.0 In-Reply-To: <1478798349-28983-5-git-send-email-kwolf@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="QH3XipnihL9hX5X56TnGs90Nb0TMLLrlr" Subject: Re: [Qemu-devel] [RFC 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, qemu-devel@nongnu.org, mreitz@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --QH3XipnihL9hX5X56TnGs90Nb0TMLLrlr From: Eric Blake To: Kevin Wolf , qemu-block@nongnu.org Cc: berto@igalia.com, qemu-devel@nongnu.org, mreitz@redhat.com Message-ID: Subject: Re: [Qemu-devel] [RFC PATCH 4/8] quorum: Do cleanup in caller coroutine References: <1478798349-28983-1-git-send-email-kwolf@redhat.com> <1478798349-28983-5-git-send-email-kwolf@redhat.com> In-Reply-To: <1478798349-28983-5-git-send-email-kwolf@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11/10/2016 11:19 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 > --- > block/quorum.c | 15 +++++++++------ > 1 file changed, 9 insertions(+), 6 deletions(-) >=20 Looks clean, but again I'm weak enough on coroutines that I won't give R-b to an RFC --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --QH3XipnihL9hX5X56TnGs90Nb0TMLLrlr 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/ iQEcBAEBCAAGBQJYJSp3AAoJEKeha0olJ0NqsIsH/iKgk5cVfzg5vj9ZiLc7HQua MvEy4HAP0Sv8zsyLlRfJ55EybC4hP3COkRbgVBSVgo5kPBrWsuYVtZdJZcsfepnu uTWqtYCHhHoLuaCGNqHZn7X0yAWNExjXalmofEsele3h/RSV8I8GPbrgLXHwn+nO KUHYesRryso7jtEefYJv+/8wHovLFPntN1WD+xbzLef+lIFfq8SerxQ3kA6BEngb QuOwG866esks1UlrSwEHHJBHLZMbo8IO8hIB2odhLjSC/3nY2eG8gXIPxm6gX/yZ Hlka4rFUtPy+J2f/fZWAE/AsF0CEFxcXFX2y5hTS2+8MwlXy9xyE5qPGSsaOf3o= =ckZd -----END PGP SIGNATURE----- --QH3XipnihL9hX5X56TnGs90Nb0TMLLrlr--