mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Make preallocation configurable
This commit is contained in:
parent
b5194655d1
commit
ce0e4f88e2
@ -81,7 +81,7 @@ if [ ! -f "${DATA}" ]; then
|
|||||||
|
|
||||||
if ! fallocate -l "${DATA_SIZE}" "${DATA}"; then
|
if ! fallocate -l "${DATA_SIZE}" "${DATA}"; then
|
||||||
rm -f "${DATA}"
|
rm -f "${DATA}"
|
||||||
echo "ERROR: Could not allocate file for virtual disk." && exit 87
|
echo "ERROR: Could not allocate a file for the virtual disk." && exit 87
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user