Bug 951661

Summary: Avoid calling fallocate(), even when supported, since it turns off XFS's delayed-allocation optimization
Product: [Community] GlusterFS Reporter: Peter Portante <pportant>
Component: object-storageAssignee: crisbud <crisbud>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: pre-releaseCC: gluster-bugs, vagarwal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 17:15:17 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: 903396, 978061    

Description Peter Portante 2013-04-12 17:58:38 UTC
Using fallocate() turns off delayed-allocation in XFS, and results in substantially slower behavior for PUT operations.

Comment 1 Junaid 2013-07-09 06:43:12 UTC
Assigning the bug to Chetan as he is currently working on it.

Comment 2 crisbud@redhat.com 2013-07-16 04:20:17 UTC
A default tunable can be used to disable the fallocate calls for gluster FS. That has been documented in the configuration files. The changes are now merged into the code. 

BUG: 951661
Change-Id: I3c7d518e0415b7eea5b31c88dd647069f9d730ac
Signed-off-by: Chetan Risbud <crisbud>
Signed-off-by: Luis Pabon <lpabon>
Reviewed-on: http://review.gluster.org/5303