From fe69abd5fa03125402d952297e4141a49cf71a15 Mon Sep 17 00:00:00 2001 From: Xing Yang Date: Wed, 25 Feb 2015 22:55:34 -0500 Subject: [PATCH] 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 --- cinder/volume/driver.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ' -- 2.45.2