From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNIqD-00023u-NJ for qemu-devel@nongnu.org; Fri, 29 Aug 2014 05:51:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XNIq8-00048X-8V for qemu-devel@nongnu.org; Fri, 29 Aug 2014 05:51:33 -0400 Received: from mail-we0-x22b.google.com ([2a00:1450:400c:c03::22b]:43956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNIq8-00048O-28 for qemu-devel@nongnu.org; Fri, 29 Aug 2014 05:51:28 -0400 Received: by mail-we0-f171.google.com with SMTP id u56so1967714wes.2 for ; Fri, 29 Aug 2014 02:51:26 -0700 (PDT) Date: Fri, 29 Aug 2014 10:51:24 +0100 From: Stefan Hajnoczi Message-ID: <20140829095124.GA9023@stefanha-thinkpad.redhat.com> References: <1403294254-10245-1-git-send-email-mreitz@redhat.com> <20140623101301.GA15351@stefanha-thinkpad.redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Content-Disposition: inline In-Reply-To: <20140623101301.GA15351@stefanha-thinkpad.redhat.com> Subject: Re: [Qemu-devel] [PATCH for-2.2 v3 0/3] nbd: Adapt for dataplane List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: Kevin Wolf , Paolo Bonzini , qemu-devel@nongnu.org, Stefan Hajnoczi --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 23, 2014 at 06:13:01PM +0800, Stefan Hajnoczi wrote: > On Fri, Jun 20, 2014 at 09:57:31PM +0200, Max Reitz wrote: > > For the NBD server to work with dataplane, it needs to correctly access > > the exported BDS. It makes the most sense to run both in the same > > AioContext, therefore this series implements methods for tracking a > > BDS's AioContext and makes NBD make use of this for keeping the clients > > connected to that BDS in the same AioContext. > >=20 > > This series breaks compilation of NBD on Windows, because > > aio_set_fd_handler() is not available there yet. It should therefore not > > be merged until that function is available (which will probably not > > happen before qemu 2.2). > >=20 > >=20 > > v3: > > - Patch 1: Drop aio_notify(), because aio_set_fd_handler() will call it > > anyway [Stefan] > >=20 > > v2: > > - Patch 1: Drop NBDClient::restart_write; checking whether > > NBDClient::send_coroutine is not NULL suffices [Paolo] > >=20 > >=20 > > git-backport-diff against v2: > >=20 > > Key: > > [----] : patches are identical > > [####] : number of functional differences between upstream/downstream p= atch > > [down] : patch is downstream-only > > The flags [FC] indicate (F)unctional and (C)ontextual differences, resp= ectively > >=20 > > 001/3:[0006] [FC] 'nbd: Drop nbd_can_read()' > > 002/3:[----] [--] 'block: Add AIO context notifiers' > > 003/3:[----] [--] 'nbd: Follow the BDS' AIO context' > >=20 > >=20 > > Max Reitz (3): > > nbd: Drop nbd_can_read() > > block: Add AIO context notifiers > > nbd: Follow the BDS' AIO context > >=20 > > block.c | 56 +++++++++++++++++++++++++ > > include/block/block_int.h | 41 ++++++++++++++++++ > > nbd.c | 103 +++++++++++++++++++++++++++++++++++++-= -------- > > 3 files changed, 181 insertions(+), 19 deletions(-) > >=20 > > --=20 > > 2.0.0 > >=20 > >=20 >=20 > Reviewed-by: Stefan Hajnoczi Paolo's win32 aio series is now merged. Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUAE0cAAoJEJykq7OBq3PIiHsH/2ya5i1p9HfAb9B+MAeOJe2J uceeEdS4hthbSvkGBEl7hPwqXtHXkzexxlbub9BMU9Qg0F09tGm1MmT1rhM3/BTo p8vT1qg3Jqu8AGm18T9YTTp+W9AJ/YLHWeyTaWbVogRAbFkMyRRKCQl8xOYb5GKC zz+lWgPEZ8zhFQ2Jutg1865J0P2gSdbIZ7pso9xHUeJYEJpkzp/i7vwlptj0QmDI 8Ku1+IBeh2rw+bDkDNANU3cUcROuWezsKErO3qchzRERr7Xvn9qDHfU9T8Tu1bBs h3bHY9zI0B8pFmrPdOMgh62u7BXUnA0SjUXfJcK8Zxrg8019i2nu5P2AOZFhit8= =v5rP -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND--