On 02/03/2017 06:06 PM, Denis V. Lunev wrote:
> From: Anton Nefedov <[email protected]>
>
> If explicit zeroing out before mirroring is required for the target image,
> it moves the block job offset counter to EOF, then offset and len counters
> count the image size twice. There is no harm but stats are confusing,
> specifically the progress of the operation is always reported as 99% by
> management tools.
>
> The patch skips offset increase for the first "technical" pass over the
> image. This should not cause any further harm.
>
> Signed-off-by: Anton Nefedov <[email protected]>
> Signed-off-by: Denis V. Lunev <[email protected]>
> Reviewed-by: Eric Blake <[email protected]>
> Reviewed-by: Stefan Hajnoczi <[email protected]>
> CC: Jeff Cody <[email protected]>
> CC: Kevin Wolf <[email protected]>
> CC: Max Reitz <[email protected]>
actually this is V3 patch. Sorry for broken subject.

Den

Reply via email to