]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rbd: Add support for wiping RBD volumes
authorWido den Hollander <wido@widodh.nl>
Wed, 27 Jan 2016 10:20:06 +0000 (11:20 +0100)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 29 Jan 2016 15:42:36 +0000 (10:42 -0500)
commitf226ecbfbb1231553f2948d6632acdb0b2266300
treeb3695588515f3c30aa10c01a6e86df73fb62d7e5
parent69535c612457fbeddf760d7651710ff5e52f20f2
rbd: Add support for wiping RBD volumes

When wiping the RBD image will be filled with zeros started
at offset 0 and until the end of the volume.

This will result in the RBD volume growing to it's full allocation
on the Ceph cluster. All data on the volume will be overwritten
however, making it unavailable.

It does NOT take any RBD snapshots into account. The original data
might still be in a snapshot of that RBD volume.

Signed-off-by: Wido den Hollander <wido@widodh.nl>
src/storage/storage_backend_rbd.c