[PATCH] vfs_glusterfs: Add fallocate support for vfs_glusterfs

Sachin Prabhu sprabhu at redhat.com
Thu Jan 11 09:59:22 UTC 2018


On Wed, 2018-01-10 at 12:34 -0800, Jeremy Allison wrote:
> Hi Sachin,
> 
> Unfortunately this won't compile on an older
> version of Gluster - it doesn't seem to have
> glfs_discard() or glfs_fallocate().
> 
> What version of gluster were these added to ?
> 
> I think you might also need to update this
> code in source3/wscript that detects the
> version of the glusterfs-api.
> 
>     if Options.options.with_glusterfs:
>         conf.CHECK_CFG(package='glusterfs-api', args='"glusterfs-api
> >= 4" --cflags --libs',
>                        msg='Checking for glusterfs-api >= 4',
> uselib_store="GFAPI")
>         conf.CHECK_HEADERS('glusterfs/api/glfs.h', lib='gfapi')
>         conf.CHECK_LIB('gfapi', shlib=True)
> 
> Jeremy.


Hello Jeremy,

Thanks for pointing this out. These functions seem to be added in
version 3.5.0. I'll get back to the list on this issue.

Sachin Prabhu



More information about the samba-technical mailing list