Bug 867711 - statfs call should be on root even if called on a file
Summary: statfs call should be on root even if called on a file
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: GlusterFS
Classification: Community
Component: fuse
Version: mainline
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: shishir gowda
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-18 07:30 UTC by shishir gowda
Modified: 2013-12-09 01:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-24 09:35:23 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.