cinder/cinder/scheduler
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
..
evaluator Scheduler Evaluator: raise recursion limit 2022-05-19 14:37:12 -04:00
filters Fix and unify capacity calculations 2022-09-09 16:13:12 -04:00
flows Use modern type annotation format for collections 2022-05-18 10:01:18 -04:00
weights Fix reported storage_protocol 2022-04-20 18:48:24 +02:00
__init__.py Files with no code must be left completely empty 2016-09-28 16:29:30 +07:00
base_filter.py mypy: filter scheduler 2021-11-08 09:43:00 -05:00
base_handler.py mypy: filter scheduler 2021-11-08 09:43:00 -05:00
base_weight.py Use modern type annotation format for collections 2022-05-18 10:01:18 -04:00
driver.py Create backups via scheduler 2020-02-19 15:08:10 +00:00
filter_scheduler.py Use modern type annotation format for collections 2022-05-18 10:01:18 -04:00
host_manager.py Fix flapping storage_protocol in get-pools 2022-06-28 11:53:19 +02:00
manager.py Merge "Add user messages for backup operations" 2021-09-04 00:53:58 +00:00
rpcapi.py Remove return from rpc cast method 2022-07-09 16:11:15 +05:30
scheduler_options.py mypy: filter scheduler 2021-11-08 09:43:00 -05:00