Re: [Qemu-devel] [RFC PATCH v2 0/6] qemu-img: add preallocation=full

2013-11-26 Thread Fam Zheng
On 2013年11月27日 10:15, Hu Tao wrote: This series implements full image preallocation to create a non-sparse image file at creation time, both for raw and qcow2 format. The purpose is to avoid performance deterioration of the guest cause by sparse image. This series implements full preallocation b

[Qemu-devel] [RFC PATCH v2 0/6] qemu-img: add preallocation=full

2013-11-26 Thread Hu Tao
This series implements full image preallocation to create a non-sparse image file at creation time, both for raw and qcow2 format. The purpose is to avoid performance deterioration of the guest cause by sparse image. This series implements full preallocation by using fallocate()/posix_fallocate()