Re: [Gluster-devel] Is the macro EC_MAX_NODES error?

2014-11-24 Thread Feng Wang
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 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 Wan

[Gluster-devel] Is the macro EC_MAX_NODES error?

2014-11-24 Thread Feng Wang
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 o