[sheepdog] [PATCH v4 1/3] sheep: handle VID overflow correctly
Liu Yuan
namei.unix at gmail.com
Thu Mar 12 02:57:51 CET 2015
On Sun, Mar 08, 2015 at 01:08:33PM +0900, Hitoshi Mitake wrote:
> Current sheep cannot handle a case of VID overflow correctly. The main
> cause of this problem is invalid usage of fill_vdi_info_range() by
> fill_vdi_info() in a case of overflow. This patch fixes this problem.
Could you please describe the problem in detail? what is invalid usage?
> In addition, this patch lets 0x000000 be an invalid VID. It is for VID
> recycling. In some places of sheepdog, parent_vid is used as a
> value which indicates that the VDI has a parent (clone or snapshot) or
> not (working VDI). So this patch lets the first VID 0x000001 and
> prevent this sort of confusion.
I think this should be in a separate patch for better review.
Thanks,
Yuan
More information about the sheepdog
mailing list