Re: [libvirt] [PATCH 1/2] rbd: Add wiping RBD volumes by using rbd_discard() or rbd_write()

2016-01-22 Thread Daniel P. Berrange
On Thu, Jan 21, 2016 at 02:10:02PM -0500, John Ferlan wrote: > > > On 12/23/2015 10:06 AM, Wido den Hollander wrote: > > This allows user to use the volume wiping functionality of the libvirt > > storage driver. > > > > This patch also adds a new wiping algorithm

Re: [libvirt] [PATCH 1/2] rbd: Add wiping RBD volumes by using rbd_discard() or rbd_write()

2016-01-21 Thread John Ferlan
On 12/23/2015 10:06 AM, Wido den Hollander wrote: > This allows user to use the volume wiping functionality of the libvirt > storage driver. > > This patch also adds a new wiping algorithm VIR_STORAGE_VOL_WIPE_ALG_DISCARD > > By default the VIR_STORAGE_VOL_WIPE_ALG_ZERO algorithm is used and

[libvirt] [PATCH 1/2] rbd: Add wiping RBD volumes by using rbd_discard() or rbd_write()

2015-12-23 Thread Wido den Hollander
This allows user to use the volume wiping functionality of the libvirt storage driver. This patch also adds a new wiping algorithm VIR_STORAGE_VOL_WIPE_ALG_DISCARD By default the VIR_STORAGE_VOL_WIPE_ALG_ZERO algorithm is used and with RBD this will called rbd_write() in chunks of the underlying