]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add QoS support to IBM Storwize driver
authorVincent Hou <sbhou@cn.ibm.com>
Wed, 23 Jul 2014 04:06:38 +0000 (00:06 -0400)
committerVincent Hou <sbhou@cn.ibm.com>
Sun, 31 Aug 2014 11:23:40 +0000 (04:23 -0700)
commit4006b5c065bbd50200fbdf094bb9266338157a13
tree605bdebfb9a1a94d8b7cbd9362159f1d0f5eaf28
parent2acc2605eaf0c70a5392c4b20844b6822dcb4bc6
Add QoS support to IBM Storwize driver

IBM Storwize driver can be enabled with QoS support by setting the parameter
I/O throttling rate, which caps the amount of I/O.

This patch add the QoS configuration to the methods of create_volume,
create_volume_from_snapshot, create_cloned_volume and retype.

The QoS for IBM Storwize storage can be configured in 3 ways:
* Add the key "qos:IOThrottling" into a QoS spec and associate this QoS
spec with a volume type.
* Add the key "qos:IOThrottling" into the extra spec of a volume type.
* Add a metadata with the key "qos:IOThrottling".

Change-Id: I7c5c6726a61efad6a8ada9c5dcc31a9382ec79f9
implements-blueprint: cinder-storwize-driver-qos
cinder/tests/test_storwize_svc.py
cinder/volume/drivers/ibm/storwize_svc/__init__.py
cinder/volume/drivers/ibm/storwize_svc/helpers.py
etc/cinder/cinder.conf.sample