On 11.07.2014 08:10, Hu Tao wrote:
This adds preallocation=falloc and preallocation=full mode to qcow2
image creation.
preallocation=full allocates disk space by writing zeros to disk to
ensure disk space in any cases.
preallocation=falloc likes preallocation=full, but allocates disk space
by posix_fallocate().
Signed-off-by: Hu Tao <hu...@cn.fujitsu.com>
---
block/qcow2.c | 31 ++++++++++++++++++++++++--
tests/qemu-iotests/082.out | 54 +++++++++++++++++++++++-----------------------
2 files changed, 56 insertions(+), 29 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>