From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpG3i-00070j-8i for qemu-devel@nongnu.org; Wed, 19 Jun 2013 06:56:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpG3h-00035w-9b for qemu-devel@nongnu.org; Wed, 19 Jun 2013 06:56:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpG3h-00035r-2Z for qemu-devel@nongnu.org; Wed, 19 Jun 2013 06:56:13 -0400 Date: Wed, 19 Jun 2013 12:56:07 +0200 From: Kevin Wolf Message-ID: <20130619105607.GC2934@dhcp-200-207.str.redhat.com> References: <1369917299-5725-1-git-send-email-stefanha@redhat.com> <1369917299-5725-3-git-send-email-stefanha@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1369917299-5725-3-git-send-email-stefanha@redhat.com> 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: Fam Zheng , qemu-devel@nongnu.org, dietmar@proxmox.com, imain@redhat.com, Paolo Bonzini , xiawenc@linux.vnet.ibm.com Am 30.05.2013 um 14:34 hat Stefan Hajnoczi geschrieben: > 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. > > Note that BdrvTrackedRequest is moved to block_int.h since it is passed > to .notify() functions. > > Signed-off-by: Stefan Hajnoczi Reviewed-by: Kevin Wolf