From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxTY0-0001PU-Qf for qemu-devel@nongnu.org; Thu, 19 Jun 2014 00:02:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxTXr-0005XW-6Q for qemu-devel@nongnu.org; Thu, 19 Jun 2014 00:02:00 -0400 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:64136) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxTXq-0005XP-W8 for qemu-devel@nongnu.org; Thu, 19 Jun 2014 00:01:51 -0400 Received: by mail-wi0-f182.google.com with SMTP id bs8so2132299wib.3 for ; Wed, 18 Jun 2014 21:01:50 -0700 (PDT) Date: Thu, 19 Jun 2014 12:01:42 +0800 From: Stefan Hajnoczi Message-ID: <20140619040142.GE21236@stefanha-thinkpad.redhat.com> References: <1403118403-14397-1-git-send-email-mreitz@redhat.com> <1403118403-14397-3-git-send-email-mreitz@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lteA1dqeVaWQ9QQl" Content-Disposition: inline In-Reply-To: <1403118403-14397-3-git-send-email-mreitz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 2/3] block: Add AIO context notifiers 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 --lteA1dqeVaWQ9QQl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 18, 2014 at 09:06:42PM +0200, Max Reitz wrote: > If a long-running operation on a BDS wants to always remain in the same > AIO context, it somehow needs to keep track of the BDS changing its > context. This adds a function for registering callbacks on a BDS which > are called whenever the BDS is attached or detached from an AIO context. >=20 > Signed-off-by: Max Reitz > --- > block.c | 56 +++++++++++++++++++++++++++++++++++++++++= ++++++ > include/block/block_int.h | 41 ++++++++++++++++++++++++++++++++++ > 2 files changed, 97 insertions(+) Reviewed-by: Stefan Hajnoczi --lteA1dqeVaWQ9QQl Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJTomCmAAoJEJykq7OBq3PIEz8H/13hH0LDx2ItGyjJlM6HPdCm 71bFHUKon1ChcMb9svlxmaSTapgxTTF8kXFaSyex0IBfLZHBAKeYf2Q6x67s2Gd7 RVZJXL9m/GqrJVk3UgrTmkOX9hzkFbLdmBGyZU89QmMy4U0gXE1Ppt2IKkHvSBtH BdICl74B+xuuyRHgNo4FV6odPZx1wop+vCD31JwvB2bOnbn0vNh9g/8y5ntOIEK0 GbAeBKdVXa5NbVCVMl3VOUyPAQqGLLG1uvGsxQhHlDWs3pcPBq+Lf2ZxXbtAcce6 KDyR/Q8oIM9NxfkrxbjkCAqQvsabCvWGiq1ui74YUOzuoiTgYSvEmY5AB0IAbis= =/xeb -----END PGP SIGNATURE----- --lteA1dqeVaWQ9QQl--