]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Set volume_dd_blocksize configurable on per-driver basis
authorAnn Kamyshnikova <akamyshnikova@mirantis.com>
Thu, 10 Oct 2013 12:37:16 +0000 (16:37 +0400)
committerAnn Kamyshnikova <akamyshnikova@mirantis.com>
Wed, 18 Dec 2013 08:17:41 +0000 (12:17 +0400)
commit5654992881ffef83c3c6c775e956f40ae80a2a5a
tree20351057b2d8ec58e4f4ec8fa623278712eadbfe
parent5cb91b70b96b9eb8f22f8c596c0853b0468af268
Set volume_dd_blocksize configurable on per-driver basis

Allow volume_dd_blocksize config option to be configurable on a
per-driver basis.
This allows drivers used in multi-backend configurations
to define their own values. We port this to the LVM and block_device
drivers here but it can easily be ported to others as and when
needed.

DocImpact

partially implement bp: per-driver-config-for-utils-functions

Change-Id: Ice9e815f18e5ebf3727aab7d3a221acacb710cd4
22 files changed:
cinder/image/image_utils.py
cinder/tests/test_block_device.py
cinder/tests/test_coraid.py
cinder/tests/test_image_utils.py
cinder/tests/test_nfs.py
cinder/tests/test_rbd.py
cinder/tests/test_scality.py
cinder/tests/test_volume.py
cinder/tests/test_volume_utils.py
cinder/tests/test_windows.py
cinder/tests/test_xenapi_sm.py
cinder/volume/driver.py
cinder/volume/drivers/block_device.py
cinder/volume/drivers/gpfs.py
cinder/volume/drivers/lvm.py
cinder/volume/drivers/nfs.py
cinder/volume/drivers/rbd.py
cinder/volume/drivers/scality.py
cinder/volume/drivers/windows/windows.py
cinder/volume/drivers/xenapi/sm.py
cinder/volume/utils.py
etc/cinder/cinder.conf.sample