[libvirt] [PATCH v3 0/5] Alter the clearing of device for new partition table

John Ferlan jferlan at redhat.com
Fri Apr 7 16:30:02 UTC 2017


Well kind of a v2/v3 type mashup - essentially reworked the portion of
the series:

https://www.redhat.com/archives/libvir-list/2017-April/msg00402.html

that dealt with the zeroing of the header of the device path. The changes
now will allow both the head and tail of the device path to be cleared
rather than just the header of the file which was ACK'd for at least the
logical backend.

Additionally, bump the size of the clear/zero from 2048KB to 1MB and use
it for both the logical and disk backends.

John Ferlan (5):
  storage: Modify storageBackendWipeLocal to allow zero from end of
    device
  storage: Introduce virStorageBackendZeroPartitionTable
  logical: Use virStorageBackendZeroPartitionTable
  logical: Increase the size of the data to wipe
  disk: Use virStorageBackendZeroPartitionTable

 src/storage/storage_backend_disk.c    |  6 ++-
 src/storage/storage_backend_logical.c | 44 +---------------------
 src/storage/storage_util.c            | 70 ++++++++++++++++++++++++++++-------
 src/storage/storage_util.h            |  4 ++
 4 files changed, 67 insertions(+), 57 deletions(-)

-- 
2.9.3




More information about the libvir-list mailing list