Re: [Qemu-devel] [RFC PATCH 2/4] block: add live block commit functionality

2012-08-01 Thread Jeff Cody
On 08/01/2012 03:07 AM, Paolo Bonzini wrote: > Il 01/08/2012 08:32, Kevin Wolf ha scritto: +enum { +/* + * Size of data buffer for populating the image file. This should be large + * enough to process multiple clusters in a single call, so

Re: [Qemu-devel] [RFC PATCH 2/4] block: add live block commit functionality

2012-08-01 Thread Paolo Bonzini
Il 01/08/2012 08:32, Kevin Wolf ha scritto: >>> +enum { >>> +/* >>> + * Size of data buffer for populating the image file. This >>> should be large >>> + * enough to process multiple clusters in a single call, so that >>> populating >>> + * cont

Re: [Qemu-devel] [RFC PATCH 2/4] block: add live block commit functionality

2012-07-31 Thread Kevin Wolf
Am 31.07.2012 19:55, schrieb Jeff Cody: > On 07/31/2012 01:51 PM, Eric Blake wrote: >> On 07/30/2012 11:16 PM, Jeff Cody wrote: >>> This adds the live commit coroutine. This iteration focuses on the >>> commit only below the active layer, and not the active layer itself. >>> >>> The behaviour is s

Re: [Qemu-devel] [RFC PATCH 2/4] block: add live block commit functionality

2012-07-31 Thread Jeff Cody
On 07/31/2012 01:51 PM, Eric Blake wrote: > On 07/30/2012 11:16 PM, Jeff Cody wrote: >> This adds the live commit coroutine. This iteration focuses on the >> commit only below the active layer, and not the active layer itself. >> >> The behaviour is similar to block streaming; the sectors are walk

Re: [Qemu-devel] [RFC PATCH 2/4] block: add live block commit functionality

2012-07-31 Thread Eric Blake
On 07/30/2012 11:16 PM, Jeff Cody wrote: > This adds the live commit coroutine. This iteration focuses on the > commit only below the active layer, and not the active layer itself. > > The behaviour is similar to block streaming; the sectors are walked > through, and anything that exists above 'b

[Qemu-devel] [RFC PATCH 2/4] block: add live block commit functionality

2012-07-30 Thread Jeff Cody
This adds the live commit coroutine. This iteration focuses on the commit only below the active layer, and not the active layer itself. The behaviour is similar to block streaming; the sectors are walked through, and anything that exists above 'base' is committed back down into base. At the end,