On Fri, Jan 22, 2016 at 03:05:16PM +0000, Ankireddypalle Reddy wrote:
> Hi,
>         Hole punching through fallocate succeeds for a ext4 mount path. But 
> it fails for a glusterfs mount path. The volume is a disperse volume.
> 
>         
> fallocate(fd,FALLOC_FL_PUNCH_HOLE|FALLOC_FL_KEEP_SIZE,0,sizeof(array)) fails 
> with a return code of EOPNOTSUPP.
> 
>        The ext4 file system mount arguments are 
> "rw,noexec,nosuid,nodev,user_xattr,discard".

This is currently not supported yet. I'm not sure if the FUSE kernel
module support punching holes yet, either. Please file a bug for this
feature so that we can figure out a plan to work on it.

  https://bugzilla.redhat.com/enter_bug.cgi?product=GlusterFS&component=fuse

Note that support for SEEK_HOLE and SEEK_DATA is also not availeble yet.
Some work has been done, but it is not ready for inclusion at this
moment. Hopefully it lands in the upcoming 3.8 release.

  https://bugzilla.redhat.com/show_bug.cgi?id=1220173

Thanks,
Niels

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Gluster-users mailing list
Gluster-users@gluster.org
http://www.gluster.org/mailman/listinfo/gluster-users

Reply via email to