summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorling-yun <zengyunling@huawei.com>2014-06-25 10:40:38 +0800
committerling-yun <zengyunling@huawei.com>2014-06-26 16:13:18 +0800
commit50dc29276414c977acf4ba455f21f1634986b47f (patch)
treececefbe50145a668530e6f272ac1c1df0648b239 /setup.cfg
parentd63f4beda80759e073767e16e240a0b491d791b5 (diff)
downloadcinder-50dc29276414c977acf4ba455f21f1634986b47f.tar.gz
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
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index e967d0d37..3d47126b1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -48,6 +48,7 @@ cinder.scheduler.weights =
AllocatedCapacityWeigher = cinder.scheduler.weights.capacity:AllocatedCapacityWeigher
CapacityWeigher = cinder.scheduler.weights.capacity:CapacityWeigher
ChanceWeigher = cinder.scheduler.weights.chance:ChanceWeigher
+ VolumeNumberWeigher = cinder.scheduler.weights.volume_number:VolumeNumberWeigher
console_scripts =
cinder-rootwrap = oslo.rootwrap.cmd:main
# These are for backwards compat with Havana notification_driver configuration values