cinder/releasenotes/notes/slug-b6a0fc3db0a2dd45.yaml
Hemna 856d3e1080 Fix and unify capacity calculations
This patch updates how cinder calculates it's free capacity.
The new calculations are based off of the queens cinder specs
that describes each of the capacity factors here:
https://specs.openstack.org/openstack/cinder-specs/specs/queens/provisioning-improvements.html

This patch updates the capacity filter to use the new capacity factors
calculations, which is also used by the capacity weigher.

The new calculate_capacity_factors describes each of the factors and
returns a dictionary of each of the factors as calculated.

Change-Id: Ic1b5737281e542d2782089a369e4b7941fc3d921
2022-09-09 16:13:12 -04:00

9 lines
412 B
YAML

---
other:
- |
Unified how cinder calculates the virtual free storage space for a pool.
Previously Cinder had 2 different mechanisms for calculating the
virtual free storage. Now both the Capacity Filter and the Capacity
Weigher use the same mechanism, which is based upon the defined terms in
https://specs.openstack.org/openstack/cinder-specs/specs/queens/provisioning-improvements.html