From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45190) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBNEm-0007aI-46 for qemu-devel@nongnu.org; Thu, 18 May 2017 11:21:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBNEl-0004yX-18 for qemu-devel@nongnu.org; Thu, 18 May 2017 11:21:12 -0400 Date: Thu, 18 May 2017 17:21:02 +0200 From: Niels de Vos Message-ID: <20170518152102.GE2431@ndevos-x240.usersys.redhat.com> References: <20170515191136.24314-1-ndevos@redhat.com> <20170518095422.12555-1-ndevos@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH v2] gluster: add support for PREALLOC_MODE_FALLOC List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: Jeff Cody , Kevin Wolf , qemu-block@nongnu.org, qemu-devel@nongnu.org On Thu, May 18, 2017 at 09:30:53AM -0500, Eric Blake wrote: > On 05/18/2017 04:54 AM, 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() and qemu_gluster_zerofill() > > functiond in favour of #ifdef checks in an easy to read > > s/functiond/functions/ > > > switch-statement. > > > > Both glfs_zerofill() and glfs_fallocate() have been introduced with > > GlusterFS 3.5.0 (pkg-config glusterfs-api = 6). A #define for the > > availability of glfs_fallocate() has been added to ./configure. > > > > Reported-by: Satheesaran Sundaramoorthi > > URL: https://bugzilla.redhat.com/1450759 > > Signed-off-by: Niels de Vos > > --- > > v2 changes requested by Jeff Cody: > > - add CONFIG_GLUSTERFS_FALLOCATE > > - remove unneeded wrapper qemu_gluster_zerofill() > > The automated tools prefer that v2 patches are sent as a new top-level > thread, rather than buried in-reply-to the v1 thread. Ok, I'm happy to resend it with the typo corrected if that helps. Niels