]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
GlusterFS: Using 'fallocate' instead of 'dd'
authorBharat Kumar Kobagana <bharat.kobagana@redhat.com>
Wed, 1 Apr 2015 10:20:26 +0000 (15:50 +0530)
committerBharat Kumar Kobagana <bharat.kobagana@redhat.com>
Wed, 29 Jul 2015 03:36:59 +0000 (09:06 +0530)
commitbc23e0bf415defb1956c9864ac33390bb4cc2017
tree4298cdbbc442a27305b8ca5d3c140bd091a24fbb
parent70b6ee3ab39fd2dc421b4b8c67b1066ca785d13d
GlusterFS: Using 'fallocate' instead of 'dd'

As 'fallocate' preallocates space to a volume, we can use it to
create raw formatted volume instead of 'dd' command.

This patch also introduces a new configuration parameter
'nas_volume_prov_type', which can be set to either 'thin' or 'thick'.

DocImpact
Co-Authored-By: Deepak C Shetty <deepakcs@redhat.com>
Change-Id: If9691b7b9fcb90254d8c108f633aeea4ed4f956d
cinder/tests/unit/test_glusterfs.py
cinder/volume/drivers/glusterfs.py
cinder/volume/drivers/remotefs.py
etc/cinder/rootwrap.d/volume.filters