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

2013-12-22 Thread Hu Tao
On Fri, Dec 20, 2013 at 11:30:21AM +0100, Stefan Hajnoczi wrote: > On Thu, Dec 19, 2013 at 10:27:35AM +0800, 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 > > perf

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

2013-12-20 Thread Eric Blake
On 12/20/2013 03:30 AM, Stefan Hajnoczi wrote: > On Thu, Dec 19, 2013 at 10:27:35AM +0800, 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 t

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

2013-12-20 Thread Stefan Hajnoczi
On Thu, Dec 19, 2013 at 10:27:35AM +0800, 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. I'm not sure the ne

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

2013-12-18 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. v3: - Fix comments to v2 by Fam. - qcow2: first fallocate disk space, then