Pranith Kumar Karampuri
2016-Jan-23 03:50 UTC
[Gluster-users] support for hole punching in glusterfs
Are you doing this for EC/disperse volume? Pranith On 01/22/2016 08:35 PM, 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?. > > Thanks and Regards, > > Ram > > ***************************Legal Disclaimer*************************** > "This communication may contain confidential and privileged material for the > sole use of the intended recipient. Any unauthorized review, use or distribution > by others is strictly prohibited. If you have received the message by mistake, > please advise the sender by reply email and delete the message. Thank you." > ********************************************************************** > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160123/8cbdbee0/attachment.html>
Ankireddypalle Reddy
2016-Jan-23 03:53 UTC
[Gluster-users] support for hole punching in glusterfs
Yes. Thanks and Regards, Ram. ________________________________ From: Pranith Kumar Karampuri <pkarampu at redhat.com> Sent: Saturday, January 23, 2016 9:20 AM To: Ankireddypalle Reddy; gluster-users at gluster.org Subject: Re: [Gluster-users] support for hole punching in glusterfs Are you doing this for EC/disperse volume? Pranith On 01/22/2016 08:35 PM, 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". Thanks and Regards, Ram ***************************Legal Disclaimer*************************** "This communication may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message by mistake, please advise the sender by reply email and delete the message. Thank you." ********************************************************************** _______________________________________________ Gluster-users mailing list Gluster-users at gluster.org<mailto:Gluster-users at gluster.org> http://www.gluster.org/mailman/listinfo/gluster-users ***************************Legal Disclaimer*************************** "This communication may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message by mistake, please advise the sender by reply email and delete the message. Thank you." ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20160123/f349774c/attachment.html>