[Sheepdog] sheepdog's recovery alogorithm questions
morita.kazutaka at lab.ntt.co.jp
Thu Mar 17 05:38:01 CET 2011
At Wed, 16 Mar 2011 10:52:18 +0800,
> 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.
More information about the sheepdog