[sheepdog] [PATCH 3/6] sheep: add vdi_copy tree to store copies number for every VDI

Liu Yuan namei.unix at gmail.com
Mon Aug 6 08:58:08 CEST 2012


On 08/06/2012 01:59 PM, levin li wrote:
> +int get_vdi_copies(uint32_t vid);
> +int get_obj_copies(uint64_t oid);
> +int get_min_copies(void);
> +int get_req_copies(struct request *req);

better renamed as:
 get_vdi_copy_number();
 get_oid_copy_number();
 get_min_copy_number();
 get_req_copy_number();

Thanks,
Yuan



More information about the sheepdog mailing list