Merge "Remove unused fallocate method/filter"
This commit is contained in:
commit
ffe7d919d8
@ -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."""
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user