[sheepdog] [PATCH v2 5/6] sheep: make SD_OP_GET_INFO a cluster operation

Liu Yuan namei.unix at gmail.com
Thu May 2 07:34:29 CEST 2013


On 05/01/2013 04:41 PM, MORITA Kazutaka wrote:
> Sheepdog vdi snapshot works as follows:
> 
>  1. Update the inode header of the current working vdi.
>  2. Create a new working vdi as a child of the previous one.
> 
> If QEMU reads the vdi object between 1 and 2, sheep returns
> SD_RES_NO_VDI.  To avoid this problem, SD_OP_GET_INFO must be ordered
> with other vdi operations.

I think this should be inlined in the source code too.

Thanks,
Yuan



More information about the sheepdog mailing list