[Gluster-devel] Is the macro EC_MAX_NODES error?
Feng Wang
wf_cs at yahoo.com
Mon Nov 24 17:17:43 UTC 2014
Hi Xavi,
Here it is. https://bugzilla.redhat.com/show_bug.cgi?id=1167419Thank you. Best Regards,
Feng Wang
On Tuesday, 25 November 2014, 0:58, Xavier Hernandez <xhernandez at datalab.es> wrote:
Yes, you are correct.
Can you file a bug for this ? otherwise I'll do it.
Xavi
On 11/24/2014 04:06 PM, Feng Wang wrote:
> Hi all,
>
> The macro is defined in ec.c file as the following statement.
>
> #define EC_MAX_NODES (EC_MAX_FRAGMENTS + ((EC_MAX_FRAGMENTS - 1) / 2))
>
> But according to my understanding and the comments above the statement, it seems that (EC_MAX_FRAGMENTS - 1) should not be divided by 2. The number of the redundancy should be less than the number of fragment, instead of half of it.
>
> Best Regards,
> Feng Wang
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20141124/b994b6a1/attachment.html>
More information about the Gluster-devel
mailing list