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>
Severity: high Docs Contact:
Priority: unspecified    
Version: pre-releaseCC: gluster-bugs, vagarwal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 13:15:17 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 903396, 978061    

Description Peter Portante 2013-04-12 13:58:38 EDT
Using fallocate() turns off delayed-allocation in XFS, and results in substantially slower behavior for PUT operations.
Comment 1 Junaid 2013-07-09 02:43:12 EDT
Assigning the bug to Chetan as he is currently working on it.
Comment 2 crisbud@redhat.com 2013-07-16 00:20:17 EDT
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@redhat.com>
Signed-off-by: Luis Pabon <lpabon@redhat.com>
Reviewed-on: http://review.gluster.org/5303