From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UiBdI-00023u-VG for qemu-devel@nongnu.org; Thu, 30 May 2013 18:47:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UiBdH-0002n0-VE for qemu-devel@nongnu.org; Thu, 30 May 2013 18:47:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UiBdH-0002mp-Lh for qemu-devel@nongnu.org; Thu, 30 May 2013 18:47:43 -0400 Message-ID: <51A7D70B.8000103@redhat.com> Date: Thu, 30 May 2013 16:47:39 -0600 From: Eric Blake MIME-Version: 1.0 References: <1369917299-5725-1-git-send-email-stefanha@redhat.com> <1369917299-5725-3-git-send-email-stefanha@redhat.com> In-Reply-To: <1369917299-5725-3-git-send-email-stefanha@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2TVQGNFXDKEODTLAEJWXQ" Subject: Re: [Qemu-devel] [PATCH v5 02/11] block: add bdrv_add_before_write_notifier() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , Fam Zheng , qemu-devel@nongnu.org, xiawenc@linux.vnet.ibm.com, imain@redhat.com, Paolo Bonzini , dietmar@proxmox.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2TVQGNFXDKEODTLAEJWXQ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 05/30/2013 06:34 AM, Stefan Hajnoczi wrote: > The bdrv_add_before_write_notifier() function installs a callback that > is invoked before a write request is processed. This will be used to > implement copy-on-write point-in-time snapshots where we need to copy > out old data before overwriting it. >=20 > Note that BdrvTrackedRequest is moved to block_int.h since it is passed= > to .notify() functions. >=20 > Signed-off-by: Stefan Hajnoczi > --- > block.c | 23 ++++++++++++----------- > include/block/block_int.h | 23 ++++++++++++++++++++++- > 2 files changed, 34 insertions(+), 12 deletions(-) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2TVQGNFXDKEODTLAEJWXQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJRp9cLAAoJEKeha0olJ0NqAskH/RKRGl8lHwM2kFxx2oXS6IMu P0EB97OEZLZShRQVWJ3suahyanmvXASAu3mgzyzo33BsuwrsjcSQu1atuqFZGTmT zyj9zbxEWEUwE2hVRe+Q7J6JiHjeIncns2i2wxNjEXtf2/xdzfFRqB8+8VwJitRS 76KenrG91Wpu/tDDwzlE1q/JG9fOUQNrZwFeiRmvJogpAhzPxVfKJZI78Zkxq5fh n+akESUGnnnPGFY+JhCXh8bJB32tqfmY12w8GPiuJ5dp25RUa9PMi3CFPMsGHoVK N/4hYY2rak3lP59LeoPnH17BwdantcADXpMg8aTQwCV4d7ZgMoT4+0lQOyKWpgg= =LJDO -----END PGP SIGNATURE----- ------enig2TVQGNFXDKEODTLAEJWXQ--