From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz1FY-0002KT-V8 for qemu-devel@nongnu.org; Mon, 23 Jun 2014 06:13:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wz1FP-0003lW-Sx for qemu-devel@nongnu.org; Mon, 23 Jun 2014 06:13:20 -0400 Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:56151) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz1FP-0003lR-Li for qemu-devel@nongnu.org; Mon, 23 Jun 2014 06:13:11 -0400 Received: by mail-wi0-f173.google.com with SMTP id cc10so3887949wib.0 for ; Mon, 23 Jun 2014 03:13:09 -0700 (PDT) Date: Mon, 23 Jun 2014 18:13:01 +0800 From: Stefan Hajnoczi Message-ID: <20140623101301.GA15351@stefanha-thinkpad.redhat.com> References: <1403294254-10245-1-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: <1403294254-10245-1-git-send-email-mreitz@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 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 pat= ch > [down] : patch is downstream-only > The flags [FC] indicate (F)unctional and (C)ontextual differences, respec= tively >=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 Reviewed-by: Stefan Hajnoczi --FCuugMFkClbJLl1L Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJTp/2tAAoJEJykq7OBq3PIhwUIAMSiKgUtPUdXZVTxPKZgDIEF ME7OC8oIIU7CSCK7zFHUyOjY9XgkztRgfZgn7D/uhe7IpdCR47RL831NBZmmMOpU 4UKwAvdiMc+TT1CB5UQIJD56Bc3E+jJWMOiLqg2L8aAOwkeWj1IQHSVGz1BtKJWK XbLvwCbsvfoO8uFz1mVJLBh5Dz9nyP8hSJ6VX0YHz67xI5WMoc9vcVcKMeDVEtwa guPxkPwHI3nJA5Nuowb8l9lDAVERWDCZRv81f0RCfjcQwehh8skXVDrlSrE/JZNe gHvGncL8rACQ8jb4khxTyLPpiJ9DopOa4Vh+ASjNyFPUm03rNwebgWRJ9ywdRgk= =FmXy -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L--