qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v12 6/6] qcow2: Add falloc and full preallocatio


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH v12 6/6] qcow2: Add falloc and full preallocation option
Date: Fri, 11 Jul 2014 23:07:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

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 <address@hidden>
---
  block/qcow2.c              | 31 ++++++++++++++++++++++++--
  tests/qemu-iotests/082.out | 54 +++++++++++++++++++++++-----------------------
  2 files changed, 56 insertions(+), 29 deletions(-)

Reviewed-by: Max Reitz <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]