From: Jenkins Date: Tue, 15 Sep 2015 01:50:39 +0000 (+0000) Subject: Merge "Remove driver.set_execute()" X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=340ea17b16c5849936cc100ba06ea9bf84e21183;p=openstack-build%2Fcinder-build.git Merge "Remove driver.set_execute()" --- 340ea17b16c5849936cc100ba06ea9bf84e21183 diff --cc cinder/volume/drivers/nfs.py index 52d7a448c,f8d109fdd..bda7f6a62 --- a/cinder/volume/drivers/nfs.py +++ b/cinder/volume/drivers/nfs.py @@@ -122,14 -111,7 +122,9 @@@ class NfsDriver(driver.ExtendVD, remote nfs_mount_options=opts) self._sparse_copy_volume_data = True + self.reserved_percentage = self._get_reserved_percentage() + self.over_subscription_ratio = self._get_over_subscription_ratio() - def set_execute(self, execute): - super(NfsDriver, self).set_execute(execute) - if self._remotefsclient: - self._remotefsclient.set_execute(execute) - def do_setup(self, context): """Any initialization the volume driver does while starting.""" super(NfsDriver, self).do_setup(context)