[Bugs] [Bug 1167419] New: EC_MAX_NODES is defined incorrectly

bugzilla at redhat.com bugzilla at redhat.com
Mon Nov 24 17:14:27 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1167419

            Bug ID: 1167419
           Summary: EC_MAX_NODES is defined incorrectly
           Product: GlusterFS
           Version: mainline
         Component: disperse
          Assignee: bugs at gluster.org
          Reporter: wf_cs at yahoo.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Description of problem:

The macro is defined in ec.c file as the following statement.

#define EC_MAX_NODES    (EC_MAX_FRAGMENTS + ((EC_MAX_FRAGMENTS - 1) / 2))

However the number of the redundancy should be less than the number of
fragment, instead of half of it.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list