Re: [Qemu-devel] [PATCH] gluster: add support for PREALLOC_MODE_FALLOC

2017-05-17 Thread Niels de Vos
On Tue, May 16, 2017 at 11:42:37AM -0400, Jeff Cody wrote: > On Mon, May 15, 2017 at 09:11:36PM +0200, Niels de Vos wrote: > > Add missing support for "preallocation=falloc" to the Gluster block > > driver. This change bases its logic on that of block/file-posix.c and > > removed the gluster_suppor

Re: [Qemu-devel] [PATCH] gluster: add support for PREALLOC_MODE_FALLOC

2017-05-16 Thread Jeff Cody
On Mon, May 15, 2017 at 09:11:36PM +0200, Niels de Vos wrote: > Add missing support for "preallocation=falloc" to the Gluster block > driver. This change bases its logic on that of block/file-posix.c and > removed the gluster_supports_zerofill() function in favour of an #ifdef > check in an easy to

[Qemu-devel] [PATCH] gluster: add support for PREALLOC_MODE_FALLOC

2017-05-15 Thread Niels de Vos
Add missing support for "preallocation=falloc" to the Gluster block driver. This change bases its logic on that of block/file-posix.c and removed the gluster_supports_zerofill() function in favour of an #ifdef check in an easy to read switch-statement. Reported-by: Satheesaran Sundaramoorthi URL: