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

John Ferlan posted 5 patches 7 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20170407163007.17702-1-jferlan@redhat.com
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(-)
[libvirt] [PATCH v3 0/5] Alter the clearing of device for new partition table
Posted by John Ferlan 7 years ago
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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v3 0/5] Alter the clearing of device for new partition table
Posted by John Ferlan 7 years ago
ping?

Tks -

John

On 04/07/2017 12:30 PM, John Ferlan wrote:
> 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(-)
> 

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v3 0/5] Alter the clearing of device for new partition table
Posted by Michal Privoznik 6 years, 12 months ago
On 04/07/2017 06:30 PM, John Ferlan wrote:
> 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(-)
>

ACK series. But please see my comments before pushing - you'll need to 
fix couple of things before.

Michal

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list