|
From: | Max Reitz |
Subject: | Re: [Qemu-devel] [PATCH v13 6/6] qcow2: Add full preallocation option |
Date: | Tue, 02 Sep 2014 23:55:34 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
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 <address@hidden> --- 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 <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |