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

Re: [libvirt] [PATCH v3 30/31] virsh: Implement sparse stream to vol-download




On 05/16/2017 10:04 AM, Michal Privoznik wrote:
> The command grew new --sparse switch that does nothing more than

s/The command grew new/Add a new/

> enables the sparse streams feature for this command. Among with
> the switch new helper function is introduced: virshStreamSkip().
> This is the callback that is called whenever daemon sends us a
> hole. In the callback we reflect the hole in underlying file by
> seeking as many bytes as told.
> 
> Signed-off-by: Michal Privoznik <mprivozn redhat com>
> ---
>  tools/virsh-util.c   | 18 ++++++++++++++++++
>  tools/virsh-util.h   |  5 +++++
>  tools/virsh-volume.c | 12 ++++++++++--
>  tools/virsh.pod      |  3 ++-
>  4 files changed, 35 insertions(+), 3 deletions(-)
> 

Reviewed-by: John Ferlan <jferlan redhat com>

John


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