[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v5 02/11] block: add bdrv_add_before_write_notif

From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v5 02/11] block: add bdrv_add_before_write_notifier()
Date: Thu, 30 May 2013 16:47:39 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6

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.
> Note that BdrvTrackedRequest is moved to block_int.h since it is passed
> to .notify() functions.
> Signed-off-by: Stefan Hajnoczi <address@hidden>
> ---
>  block.c                   | 23 ++++++++++++-----------
>  include/block/block_int.h | 23 ++++++++++++++++++++++-
>  2 files changed, 34 insertions(+), 12 deletions(-)

Reviewed-by: Eric Blake <address@hidden>

Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]