cinder/cinder
Eric Harney c9c9eaac57 Don't zero out thin provisioned LV's on delete
Thin provisioned LV's don't need secure delete to protect
from data leakage.  Also, zeroing these out kinda defeats
the purpose of using thing provisioning.

This patch add a check for the lvm type and if it's thin simply
returns from the lvm.clear_volume() method.

Conflicts:
	cinder/tests/test_volume.py
	cinder/volume/drivers/lvm.py

Change-Id: Ie6764209018152565295291efc6fbba553698ae6
Closes-Bug: #1240299
(cherry picked from commit de4392314f)
2013-11-12 14:34:44 -05:00
..
api Merge "Allow display_name for v2 snapshot-update" into stable/grizzly 2013-10-09 00:33:53 +00:00
backup Fix backup manager formatting error. 2013-04-10 16:57:22 -06:00
common Sync latest cfg and log from oslo-incubator 2013-02-18 07:42:51 +00:00
compute Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
db Fix volume_glance_metadata deletion (backport) 2013-09-16 12:25:24 +00:00
image Fix chown fail for nfs file without necessary permission 2013-08-05 06:27:12 +05:30
locale Removes the xensm driver 2012-11-20 14:47:14 +00:00
openstack Ensure that qpid connection is closed (from oslo) 2013-08-26 16:18:43 +02:00
scheduler update error log arguements in filter scheduler 2013-03-11 15:39:02 +08:00
testing Use nose and openstack nose plugin. 2013-03-07 14:14:08 -05:00
tests Don't zero out thin provisioned LV's on delete 2013-11-12 14:34:44 -05:00
volume Don't zero out thin provisioned LV's on delete 2013-11-12 14:34:44 -05:00
__init__.py Stop double logging to the console 2012-09-20 16:53:28 +00:00
context.py Sync latest cfg and log from oslo-incubator 2013-02-18 07:42:51 +00:00
exception.py Fix volume_glance_metadata deletion (backport) 2013-09-16 12:25:24 +00:00
flags.py Mark sql_connection with secret flag 2013-04-11 12:19:49 -05:00
manager.py Make pep8 checks a bit stricter. 2012-11-26 16:57:15 -07:00
policy.py Use oslo-config-2013.1b3 2013-02-19 16:48:02 -08:00
quota.py Fix quota updating when admin deletes common user's volume 2013-03-26 22:35:05 -06:00
service.py cinder volume service keeps retrying even code exception 2013-05-09 14:37:50 +08:00
test.py Use oslo-config-2013.1b3 2013-02-19 16:48:02 -08:00
utils.py Use an SSH pool to manage SSH connection 2013-05-10 20:08:45 +08:00
version.py Update to latest oslo-version code. 2013-02-07 02:29:27 -06:00
wsgi.py Use oslo-config-2013.1b3 2013-02-19 16:48:02 -08:00