[libvirt] [PATCH 3/3] Add volume zeroing

Paolo Bonzini pbonzini at redhat.com
Tue Feb 16 16:35:49 UTC 2010


On 02/16/2010 05:31 PM, Dave Allan wrote:
>>
>> ANother option would be to add an explicit virStorageVolZero() API to
>> allow a volume to be wiped independently of create/delete operations.
>
> I like this approach.  Since the code is already written for pretty much
> every permutation: regular non-sparse file, regular sparse file, block
> device, adding the new API isn't a lot of work.  That gives users the
> greatest flexibility for choosing the time of the zero operation, which
> is important since it's time consuming.

Yeah, that'd be a nice feature.

Paolo




More information about the libvir-list mailing list