Re: [Qemu-devel] [PATCH V9 3/4] raw-posix: Add full image preallocation option

2014-06-04 Thread Hu Tao
On Thu, Jun 05, 2014 at 07:48:12AM +0200, Peter Lieven wrote: > On 05.06.2014 07:39, Hu Tao wrote: > >On Thu, May 29, 2014 at 08:55:59PM +0200, Peter Lieven wrote: > >>Am 29.05.2014 03:55, schrieb Hu Tao: > >>>On Wed, May 28, 2014 at 07:36:26AM +0200, Markus Armbruster wrote: > Peter Lieven wr

Re: [Qemu-devel] [PATCH V9 3/4] raw-posix: Add full image preallocation option

2014-06-04 Thread Peter Lieven
On 05.06.2014 07:39, Hu Tao wrote: On Thu, May 29, 2014 at 08:55:59PM +0200, Peter Lieven wrote: Am 29.05.2014 03:55, schrieb Hu Tao: On Wed, May 28, 2014 at 07:36:26AM +0200, Markus Armbruster wrote: Peter Lieven writes: Am 27.05.2014 um 21:24 schrieb Eric Blake : On 05/27/2014 02:22 AM,

Re: [Qemu-devel] [PATCH V9 3/4] raw-posix: Add full image preallocation option

2014-06-04 Thread Hu Tao
On Thu, May 29, 2014 at 08:55:59PM +0200, Peter Lieven wrote: > Am 29.05.2014 03:55, schrieb Hu Tao: > > On Wed, May 28, 2014 at 07:36:26AM +0200, Markus Armbruster wrote: > >> Peter Lieven writes: > >> > >>> Am 27.05.2014 um 21:24 schrieb Eric Blake : > >>> > On 05/27/2014 02:22 AM, Chen Fan

Re: [Qemu-devel] [PATCH V9 3/4] raw-posix: Add full image preallocation option

2014-05-29 Thread Peter Lieven
Am 29.05.2014 03:55, schrieb Hu Tao: > On Wed, May 28, 2014 at 07:36:26AM +0200, Markus Armbruster wrote: >> Peter Lieven writes: >> >>> Am 27.05.2014 um 21:24 schrieb Eric Blake : >>> On 05/27/2014 02:22 AM, Chen Fan wrote: > From: Hu Tao > > This patch adds a new option preallo

Re: [Qemu-devel] [PATCH V9 3/4] raw-posix: Add full image preallocation option

2014-05-28 Thread Hu Tao
On Wed, May 28, 2014 at 07:36:26AM +0200, Markus Armbruster wrote: > Peter Lieven writes: > > > Am 27.05.2014 um 21:24 schrieb Eric Blake : > > > >> On 05/27/2014 02:22 AM, Chen Fan wrote: > >>> From: Hu Tao > >>> > >>> This patch adds a new option preallocation for raw format, and implements >

Re: [Qemu-devel] [PATCH V9 3/4] raw-posix: Add full image preallocation option

2014-05-27 Thread Markus Armbruster
Peter Lieven writes: > Am 27.05.2014 um 21:24 schrieb Eric Blake : > >> On 05/27/2014 02:22 AM, Chen Fan wrote: >>> From: Hu Tao >>> >>> This patch adds a new option preallocation for raw format, and implements >>> full preallocation by writing zeros to disk. >>> >>> The metadata option is cha

Re: [Qemu-devel] [PATCH V9 3/4] raw-posix: Add full image preallocation option

2014-05-27 Thread Peter Lieven
Am 27.05.2014 um 21:24 schrieb Eric Blake : > On 05/27/2014 02:22 AM, Chen Fan wrote: >> From: Hu Tao >> >> This patch adds a new option preallocation for raw format, and implements >> full preallocation by writing zeros to disk. >> >> The metadata option is changed to use posix_fallocate() to

Re: [Qemu-devel] [PATCH V9 3/4] raw-posix: Add full image preallocation option

2014-05-27 Thread Eric Blake
On 05/27/2014 02:22 AM, Chen Fan wrote: > From: Hu Tao > > This patch adds a new option preallocation for raw format, and implements > full preallocation by writing zeros to disk. > > The metadata option is changed to use posix_fallocate() to ensure > subsquent writes to image file won't fail be

[Qemu-devel] [PATCH V9 3/4] raw-posix: Add full image preallocation option

2014-05-27 Thread Chen Fan
From: Hu Tao This patch adds a new option preallocation for raw format, and implements full preallocation by writing zeros to disk. The metadata option is changed to use posix_fallocate() to ensure subsquent writes to image file won't fail because of lack of disk space. The purpose is to ensure