]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Support Volume Num Weighter
authorling-yun <zengyunling@huawei.com>
Wed, 25 Jun 2014 02:40:38 +0000 (10:40 +0800)
committerling-yun <zengyunling@huawei.com>
Thu, 26 Jun 2014 08:13:18 +0000 (16:13 +0800)
commit50dc29276414c977acf4ba455f21f1634986b47f
treececefbe50145a668530e6f272ac1c1df0648b239
parentd63f4beda80759e073767e16e240a0b491d791b5
Support Volume Num Weighter

Currently cinder support choosing volume backend according to
free_capacity and allocated_capacity. Volume Num Weighter is
that scheduler could choose volume backend based on volume number
in volume backend, which could provide another mean to help
improve volume-backends' IO balance and volumes' IO performance,
see details in ref [1] and [2].

blueprint support-volume-num-weighter

Ref:
[1]https://blueprints.launchpad.net/cinder/+spec/support-volume-num-weighter
[2]https://review.openstack.org/#/c/99683/

Change-Id: Id9275ed954f1b35ee8d7bee0f0b61cc3a7c48f63
cinder/db/api.py
cinder/db/sqlalchemy/api.py
cinder/scheduler/weights/volume_number.py [new file with mode: 0644]
cinder/tests/scheduler/test_volume_number_weigher.py [new file with mode: 0644]
etc/cinder/cinder.conf.sample
setup.cfg