Bug 867711

Summary: statfs call should be on root even if called on a file
Product: [Community] GlusterFS Reporter: shishir gowda <sgowda>
Component: fuseAssignee: shishir gowda <sgowda>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: amarts, gluster-bugs, nsathyan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-24 09:35:23 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:

Description shishir gowda 2012-10-18 07:30:51 UTC
Description of problem:
  
The logic to send statfs call on files was brought in for dht(rebalance).
Doing statfs call on a file would allow dht to check space on a given subvol.
Currently rebalance uses syncop, bypassing fuse.
    
This fix would lead to statfs showing incorrect values if called on a file,
whose cached subvol was down.

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


How reproducible:


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


Expected results:


Additional info:

Comment 1 Amar Tumballi 2012-10-23 14:08:42 UTC
posted a patch to http://review.gluster.org/4103, but still in discussion... not a priority.

Comment 2 Amar Tumballi 2012-12-24 09:35:23 UTC
Don't think this is a necessity anymore.