Remove unused fallocate method/filter

Use of this method was removed when the glusterfs
driver was removed.

Change-Id: I0ccdb5a3e81d387c61341c10f588f6985de75042
This commit is contained in:
Eric Harney 2017-04-28 10:29:14 -04:00
parent f14c80ef15
commit 957fae85f1
2 changed files with 0 additions and 6 deletions

View File

@ -351,11 +351,6 @@ class RemoteFSDriver(driver.BaseVD):
'count=%d' % block_count,
run_as_root=self._execute_as_root)
def _fallocate(self, path, size):
"""Creates a raw file of given size in GiB using fallocate."""
self._execute('fallocate', '--length=%sG' % size,
path, run_as_root=self._execute_as_root)
def _create_qcow2_file(self, path, size_gb):
"""Creates a QCOW2 file of a given size in GiB."""

View File

@ -129,7 +129,6 @@ netapp_nfs_touch: CommandFilter, touch, root
# cinder/volume/drivers/glusterfs.py
chgrp: CommandFilter, chgrp, root
umount: CommandFilter, umount, root
fallocate: CommandFilter, fallocate, root
# cinder/volumes/drivers/hds/hds.py:
hus-cmd: CommandFilter, hus-cmd, root