Re: Is the macro EC_MAX_NODES error?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Xavi,

Thank you.
 
Best Regards,
Feng Wang


On Tuesday, 25 November 2014, 0:58, Xavier Hernandez <xhernandez@xxxxxxxxxx> 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@xxxxxxxxxxx
> http://supercolony.gluster.org/mailman/listinfo/gluster-devel

>


_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux