On 29.08.2014 10:33, Hu Tao wrote:
preallocation=full allocates disk space by fallocating the space if
posix_fallocate() is available, otherwise by writing zeros to disk to
ensure disk space in any cases.
Signed-off-by: Hu Tao <hu...@cn.fujitsu.com>
---
block/qcow2.c | 61 +++++++++++++++++++++++++++++++++++++++-------
qemu-doc.texi | 7 +++---
qemu-img.texi | 7 +++---
tests/qemu-iotests/082.out | 54 ++++++++++++++++++++--------------------
4 files changed, 87 insertions(+), 42 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>