[Top][All Lists]

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

Re: [Qemu-devel] [RFC PATCH 36/36] mirror: allow customizing the granula

From: Eric Blake
Subject: Re: [Qemu-devel] [RFC PATCH 36/36] mirror: allow customizing the granularity
Date: Fri, 15 Jun 2012 17:24:57 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

On 06/15/2012 09:05 AM, Paolo Bonzini wrote:
> The desired granularity may be very different depending on the kind of 
> operation
> (e.g. continous replication vs. collapse-to-raw) and whether the VM is 
> expected
> to perform lots of I/O while mirroring is in progress.  Allow the user to 
> customize
> it.

> +++ b/qapi-schema.json
> @@ -1383,6 +1383,8 @@
>  #        (all the disk, only the sectors allocated in the topmost image, or
>  #        only new I/O).
>  #
> +# @granularity: #optional granularity of the dirty bitmap, default is 64K.

What happens if the user doesn't pass in a power of 2?  Is there a
minimum or maximum acceptable value?

Eric Blake   address@hidden    +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]