]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
NetApp volume/snapshot delete performance fix
authorTom Barron <tpb@dyncloud.net>
Mon, 14 Sep 2015 21:38:40 +0000 (17:38 -0400)
committerTom Barron <tpb@dyncloud.net>
Mon, 21 Sep 2015 14:14:30 +0000 (14:14 +0000)
commit4163fb29add1f3c80cb902c8735be3dde24930d3
treea5af9c4bfcc9a608ce328b509ee9c2b741cda298
parent351a432f592b42ad30e3c87b6520693b0c5df44a
NetApp volume/snapshot delete performance fix

cDOT NFS NetApp drivers back cinder volumes with array-side files and
use array-side cloning techniques when creating snapshots and when
creating volumes from glance images.  Customers have experienced
performance issues on the array when deleting many of these in
in quick succession, especially for large volumes.

This commit addresses these performance issues by overriding parent
class volume and snapshot delete methods, which use OS "rm" command to
delete volume backing files, with methods that use DOT API to delete
these files, and which invoke the optimized file deletion engine
available in DOT 8.3.

Closes-bug: 1497258
Change-Id: I44428d0840f6584f93ca214a2a607869b345554c
cinder/tests/unit/test_netapp_nfs.py
cinder/tests/unit/volume/drivers/netapp/dataontap/fakes.py
cinder/tests/unit/volume/drivers/netapp/dataontap/test_nfs_cmode.py
cinder/volume/drivers/netapp/dataontap/client/client_base.py
cinder/volume/drivers/netapp/dataontap/client/client_cmode.py
cinder/volume/drivers/netapp/dataontap/nfs_cmode.py