Re: [Qemu-devel] [PATCH v8 0/4] qemu-img: add preallocation=full

2014-05-06 Thread Stefan Hajnoczi
On Wed, Apr 09, 2014 at 03:12:33PM +0800, Hu Tao wrote: > The purpose of this series is to use posix_fallocate() when creating > img file to ensure there are disk space for it which is way fast than > acturally writing to disk. But this only works in file system level. > For cases like thin provisi

Re: [Qemu-devel] [PATCH v8 0/4] qemu-img: add preallocation=full

2014-04-23 Thread Hu Tao
ping... On Wed, Apr 09, 2014 at 03:12:33PM +0800, Hu Tao wrote: > The purpose of this series is to use posix_fallocate() when creating > img file to ensure there are disk space for it which is way fast than > acturally writing to disk. But this only works in file system level. > For cases like thi

[Qemu-devel] [PATCH v8 0/4] qemu-img: add preallocation=full

2014-04-09 Thread Hu Tao
The purpose of this series is to use posix_fallocate() when creating img file to ensure there are disk space for it which is way fast than acturally writing to disk. But this only works in file system level. For cases like thin provisioning, an option full preallocation is added to write zeros to s