[sheepdog] [PATCH v5 4/8] sheep: add vdi_copy tree to store copies number for every VDI

Liu Yuan namei.unix at gmail.com
Wed Aug 22 11:07:29 CEST 2012


On 08/22/2012 04:55 PM, levin li wrote:
> +int get_vdi_copy_number(uint32_t vid);
> +int get_obj_copy_number(uint64_t oid);
> +int get_max_copy_number(void);
> +int get_req_copy_number(struct request *req);
> +int add_vdi_copies(uint32_t vid, int nr_copies);

To get a uniform naming, add_vdi_copies -> add_vdi_copy_number().

Thanks,
Yuan



More information about the sheepdog mailing list