[sheepdog] [PATCH v2 3/4] sheep: recalculate the vnodes number when epoch changes

Liu Yuan namei.unix at gmail.com
Fri Aug 3 15:17:47 CEST 2012


On 08/03/2012 08:50 PM, levin li wrote:
> @@ -177,6 +177,7 @@ struct sd_node {
>  	struct node_id  nid;
>  	uint16_t	nr_vnodes;
>  	uint32_t	zone;
> +	uint32_t        space;
>  };

Would better use uint64_t too, because we never know how big the future
disk is.

Thanks,
Yuan



More information about the sheepdog mailing list