[Sheepdog] [PATCH 09/10] sheep: rewrite get_max_copies using get_zones_nr_from

Liu Yuan namei.unix at gmail.com
Thu Apr 26 20:38:49 CEST 2012


On 04/27/2012 01:21 AM, Christoph Hellwig 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?

Thanks,
Yuan




More information about the sheepdog mailing list