[Sheepdog] sheepdog's recovery alogorithm questions

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Thu Mar 17 05:38:01 CET 2011


At Wed, 16 Mar 2011 10:52:18 +0800,
jidalyg_8711 wrote:
> Thanks for your replies!
> Another questions:
> 1. write_object() return's value always >= 0
>    but when you call the write_object, you think an error happened if ret < 0
>    for example in vdi.c  
> if (ret < 0)
> return SD_RES_VDI_WRITE;
>    
> I think this is bug ,because return values is impossible < 0, and can't get error of the write_object.

Thanks!  I'll post a fix later.

Kazutaka



More information about the sheepdog mailing list