Add QoS capability to the IBM Storwize driver¶
Storwize driver can provide the QoS capability with the parameter of IO throttling, which caps the amount of I/O that is accepted. This blueprints proposes to add the QoS support for Storwize driver.
Storwize backend storage can be enabled with the QoS support by limiting the amount of I/O for a specific volume. QoS has been implemented for some cinder storage drivers, and it is feasible for the storwize driver to add this feature as well.
To enable the QoS for storwize driver, an extra spec with IOThrottling as the key needs to bind to a volume type. All the following changes apply to the Storwize driver code.
If QoS is enabled and IOThrottling is available as the QoS key, set the I/O throttling of the volume into the specified IOThrottling value.
Create clone volume:
If the QoS is set for the original volume, the target volume needs to set to the same QoS.
The QoS attributes will be copied to the snapshot.
Create volume from snapshot:
If QoS is enabled and IOThrottling is available as the QoS key, set the IO throttling of the volume into the specified IOThrottling value.
If a volume type is changed, a different IOThrottling value will apply to the volume and the I/O of the volume needs to be set to the new IO throttling.
The proposed change follows the pattern, in which other drivers implement the QoS feature.
Data model impact¶
REST API impact¶
Other end user impact¶
Other deployer impact¶
The QoS for Storwize driver can be configurable with a configuration option in cinder.conf. An extra spec with the key of IOThrottling can bind to a volume type, so that the volumes with this volume type are guaranteed with an I/O throttling rate.
- Primary assignee:
- Other contributors:
Add a configuration option to allow the user the use the QoS for Storwize driver.
Add the QoS enablement check and set the I/O throttling in create volume.
Add the QoS enablement check and set the I/O throttling in create volume from snapshot.
Set the I/O throttling to the new volume according to the original volume in create clone volume.
Copy the QoS attributes to the snapshot in create snapshot.
Change the I/O throttling of the volume if the volume type is changed.
Unit tests need to be added to test the QoS for Storwize driver.
Add how to configure the QoS for the Storwize driver in the document.
Add QoS capability to the IBM storwize driver https://blueprints.launchpad.net/cinder/+spec/cinder-storwize-driver-qos