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,
|
'count=%d' % block_count,
|
||||||
run_as_root=self._execute_as_root)
|
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):
|
def _create_qcow2_file(self, path, size_gb):
|
||||||
"""Creates a QCOW2 file of a given size in GiB."""
|
"""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
|
# cinder/volume/drivers/glusterfs.py
|
||||||
chgrp: CommandFilter, chgrp, root
|
chgrp: CommandFilter, chgrp, root
|
||||||
umount: CommandFilter, umount, root
|
umount: CommandFilter, umount, root
|
||||||
fallocate: CommandFilter, fallocate, root
|
|
||||||
|
|
||||||
# cinder/volumes/drivers/hds/hds.py:
|
# cinder/volumes/drivers/hds/hds.py:
|
||||||
hus-cmd: CommandFilter, hus-cmd, root
|
hus-cmd: CommandFilter, hus-cmd, root
|
||||||
|
Loading…
Reference in New Issue
Block a user