Bug 949242

Summary: Introduce fallocate support
Product: [Community] GlusterFS Reporter: Vijay Bellur <vbellur>
Component: coreAssignee: Brian Foster <bfoster>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: mainlineCC: bfoster, bugs, gluster-bugs, htaira, pportant
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.6.0beta1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-15 17:16:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 856704, 963678    

Description Vijay Bellur 2013-04-07 07:56:27 UTC
Description of problem:

fallocate support is currently not available with glusterfs. It would be useful to have this support. libgfapi interface for fallocate would be good to have as well.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Peter Portante 2013-04-12 17:55:21 UTC
See also https://bugzilla.redhat.com/show_bug.cgi?id=856704.

Comment 2 Anand Avati 2013-05-08 13:03:04 UTC
REVIEW: http://review.gluster.org/4969 (gluster: add fallocate fop support) posted (#1) for review on master by Brian Foster (bfoster)

Comment 3 Anand Avati 2013-05-08 17:51:40 UTC
REVIEW: http://review.gluster.org/4969 (gluster: add fallocate fop support) posted (#2) for review on master by Brian Foster (bfoster)

Comment 4 Anand Avati 2013-05-10 17:47:51 UTC
REVIEW: http://review.gluster.org/4969 (gluster: add fallocate fop support) posted (#3) for review on master by Brian Foster (bfoster)

Comment 5 Anand Avati 2013-05-17 20:03:52 UTC
REVIEW: http://review.gluster.org/4969 (gluster: add fallocate fop support) posted (#4) for review on master by Brian Foster (bfoster)

Comment 6 Anand Avati 2013-05-23 13:29:47 UTC
REVIEW: http://review.gluster.org/4969 (gluster: add fallocate fop support) posted (#5) for review on master by Brian Foster (bfoster)

Comment 7 Anand Avati 2013-05-24 18:04:41 UTC
REVIEW: http://review.gluster.org/4969 (gluster: add fallocate fop support) posted (#6) for review on master by Brian Foster (bfoster)

Comment 8 Anand Avati 2013-06-04 15:51:57 UTC
REVIEW: http://review.gluster.org/4969 (gluster: add fallocate fop support) posted (#7) for review on master by Brian Foster (bfoster)

Comment 9 Anand Avati 2013-06-11 13:02:10 UTC
REVIEW: http://review.gluster.org/4969 (gluster: add fallocate fop support) posted (#8) for review on master by Brian Foster (bfoster)

Comment 10 Anand Avati 2013-06-13 21:37:57 UTC
COMMIT: http://review.gluster.org/4969 committed in master by Anand Avati (avati) 
------
commit d1ccc4e400728d90f2ef7904661f53deb7199123
Author: Brian Foster <bfoster>
Date:   Wed May 8 08:54:11 2013 -0400

    gluster: add fallocate fop support
    
    Implement support for the fallocate file operation. fallocate
    allocates blocks for a particular inode such that future writes
    to the associated region of the file are guaranteed not to fail
    with ENOSPC.
    
    This patch adds fallocate support to the following areas:
    
    	- libglusterfs
    	- mount/fuse
    	- io-stats
    	- performance/md-cache,open-behind
    	- quota
    	- cluster/afr,dht,stripe
    	- rpc/xdr
    	- protocol/client,server
    	- io-threads
    	- marker
    	- storage/posix
    	- libgfapi
    
    BUG: 949242
    Change-Id: Ice8e61351f9d6115c5df68768bc844abbf0ce8bd
    Signed-off-by: Brian Foster <bfoster>
    Reviewed-on: http://review.gluster.org/4969
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Anand Avati <avati>

Comment 11 Niels de Vos 2014-09-22 12:31:43 UTC
A beta release for GlusterFS 3.6.0 has been released. Please verify if the release solves this bug report for you. In case the glusterfs-3.6.0beta1 release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED.

Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution.

[1] http://supercolony.gluster.org/pipermail/gluster-users/2014-September/018836.html
[2] http://supercolony.gluster.org/pipermail/gluster-users/

Comment 12 Niels de Vos 2015-05-15 17:16:14 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report.

glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user