Bug 762767 (GLUSTER-1035)

Summary: The distribute translator does not handle differently sized block sizes and/or fragment sizes
Product: [Community] GlusterFS Reporter: mjrosenb <marty.rosenberg>
Component: distributeAssignee: shishir gowda <sgowda>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 3.0.4CC: amarts, gluster-bugs, nsathyan, tejas
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: DNR CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
fixes the behavior of df on dht/distribute none

Description mjrosenb 2010-06-28 09:46:12 UTC
The code currently has a TODO comment saying support should be added.
I tried to copy the code directly from the old unify translator, but
it looks like the wrong numbers are being used for f_bfree and f_bavail.
patch01.patch was given to me by someone on #gluster.  patch05.patch is naively copying over the code from unify, and patch06.patch was me changing the settings to get df to output the correct amount.
I'm not sure if that code is wrong, or if the meaning of those fields has changed since unify was written.

Comment 1 Amar Tumballi 2010-10-05 09:31:50 UTC
Shishir, These patches are valid. Please port it to new codebase and send a patch. Please add 'Thanks to <marty.rosenberg>' in commit log

Comment 2 Anand Avati 2010-10-27 04:48:03 UTC
PATCH: http://patches.gluster.com/patch/5315 in master (distribute: bring in statfs normalization)

Comment 3 Amar Tumballi 2011-02-15 04:54:36 UTC
Internal enhancement, User need not be bothered