]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Make dd block size user configurable
authorChristoph Kassen <c.kassen@telekom.de>
Tue, 19 Mar 2013 20:50:51 +0000 (21:50 +0100)
committerChristoph Kassen <c.kassen@telekom.de>
Tue, 19 Mar 2013 20:52:09 +0000 (21:52 +0100)
commit8e8f200d909ff62c9286d585e658dab93bdfea67
treeb5a7ff211d8bd975ceb76a5a31aee7244a1e42e9
parent34a8c8e51a2f1b6b25ed6833ad60a0d89e3770ee
Make dd block size user configurable

This patch introduces a new configuration option volume_dd_blocksize
to change the bs parameter passed to the dd command when creating or
deleting volumes. In certain scenarios changing the block size might
result in better performance.

The default value is still 1M, which was used before.

Change-Id: I0398436ab3ecca51f6121e8f521af8b2dc60acd3
Fixes: bug #1157417
cinder/volume/drivers/lvm.py