]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Correcting thin provisioning behavior
authorMichael Rowden <mrrowden@us.ibm.com>
Tue, 2 Feb 2016 19:55:15 +0000 (13:55 -0600)
committermrrowden@us.ibm.com <mrrowden@us.ibm.com>
Tue, 8 Mar 2016 15:46:46 +0000 (15:46 +0000)
commitc9667987ce8b395b6e5920ad221807706f8b2403
tree243649cada803fc0be0ecdd92c9b0e059b060f9e
parent5986b14bfd29eb85eb6f1a3fb056d8c6f8a000b3
Correcting thin provisioning behavior

Currently, if thin provisioning is enabled and
max_over_subscription_ratio <= 1, the code will not go through the
thin-provisioning aware code, thereby ignoring any limits from
max_over_subscription_ratio. The intended behavior of setting
max_over_subscription_ratio = 1 is to disable over-provisioning.
Fixed help string to state minimum of 1.0 for
max_over_subscription_ratio.

Change-Id: I0ac265905e0613691238e7fcd60853c838118fcc
Closes-Bug: #1537162
Co-Authored-By: Siva Mullapudi <scmullap@us.ibm.com>
cinder/scheduler/filters/capacity_filter.py
cinder/tests/unit/scheduler/test_host_filters.py
cinder/volume/driver.py