[libvirt] [PATCH 0/5] virStorageBackendWipeLocal cleanups

Ján Tomko jtomko at redhat.com
Fri Dec 11 16:36:42 UTC 2015


The first patch fixes the return values of virStorageWipe on non-sparse local files
in the case of a partial wipe or a fdatasync error.

The rest reduces the number of parameters of virStorageBackendWipe{Extent,}Local.

Ján Tomko (5):
  storage: fix return values of virStorageBackendWipeExtentLocal
  storage: move buffer allocation inside
    virStorageBackendWipeExtentLocal
  storage: drop 'Extent' from virStorageBackendWipeExtentLocal
  virStorageBackendWipeLocal: use unsigned long long instead of off_t
  virStorageBackendWipeLocal: remove bytes_wiped argument

 src/storage/storage_backend.c | 53 +++++++++++++++++--------------------------
 1 file changed, 21 insertions(+), 32 deletions(-)

-- 
2.4.6




More information about the libvir-list mailing list