]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: Split out volume wiping as separate backend function
authorPeter Krempa <pkrempa@redhat.com>
Mon, 7 Jul 2014 14:50:11 +0000 (16:50 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 17 Jul 2014 08:12:34 +0000 (10:12 +0200)
commit11d28050c58bc44cc2bbb736468e553a3a322409
treee1846bc666556aa1c493367a5fb8a13dfe8064af
parent4d799b65cd193b2e23701b0cf548b85fdd498bcd
storage: Split out volume wiping as separate backend function

For non-local storage drivers we can't expect to use the "scrub" tool to
wipe the volume. Split the code into a separate backend function so that
we can add protocol specific code later.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1118710
src/storage/storage_backend.h
src/storage/storage_backend_disk.c
src/storage/storage_backend_fs.c
src/storage/storage_backend_iscsi.c
src/storage/storage_backend_logical.c
src/storage/storage_backend_mpath.c
src/storage/storage_backend_scsi.c
src/storage/storage_driver.c