On 04/27/2012 02:38 AM, Liu Yuan wrote: >> Also document it and rename it to get_nr_copies_int to avoid confusion >> > with get_nr_copies. > > get_nr_copies_int is misnamed I think. How about get_current_nr_copies() > to mean real copies we have for the case nr_zones < nr_copies? > A second thought, how about get_nr_copies_from(nodes, nr_nodes)? or maybe you meant 'in' instead of 'int'? Thanks, Yuan |