Bug 762767 (GLUSTER-1035) - The distribute translator does not handle differently sized block sizes and/or fragment sizes
Summary: The distribute translator does not handle differently sized block sizes and/o...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-1035
Product: GlusterFS
Classification: Community
Component: distribute
Version: 3.0.4
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: shishir gowda
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-28 09:46 UTC by mjrosenb
Modified: 2015-12-01 16:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: DNR
CRM:
Verified Versions:


Attachments (Terms of Use)
fixes the behavior of df on dht/distribute (10.00 KB, application/octet-stream)
2010-06-28 06:46 UTC, mjrosenb
no flags Details

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


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