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