From: Xing Yang Date: Thu, 26 Feb 2015 03:55:34 +0000 (-0500) Subject: Change max_over_subscription_ratio default value X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=fe69abd5fa03125402d952297e4141a49cf71a15;p=openstack-build%2Fcinder-build.git Change max_over_subscription_ratio default value Currently max_over_subscription_ratio is set to 2.0 by default. This default value is too low for thin provisioning. Change it to 20.0. Change-Id: I61147e53caa272be0c970507114f5e2b8494edca --- diff --git a/cinder/volume/driver.py b/cinder/volume/driver.py index cea0eea83..9b073adb2 100644 --- a/cinder/volume/driver.py +++ b/cinder/volume/driver.py @@ -151,11 +151,11 @@ volume_opts = [ help='Tell driver to use SSL for connection to backend ' 'storage if the driver supports it.'), cfg.FloatOpt('max_over_subscription_ratio', - default=2.0, + default=20.0, help='Float representation of the over subscription ratio ' 'when thin provisioning is involved. Default ratio is ' - '2.0, meaning provisioned capacity can be twice of the ' - 'total physical capacity. If the ratio is 10.5, it ' + '20.0, meaning provisioned capacity can be 20 times of ' + 'the total physical capacity. If the ratio is 10.5, it ' 'means provisioned capacity can be 10.5 times of the ' 'total physical capacity. A ratio of 1.0 means ' 'provisioned capacity cannot exceed the total physical '