[Sheepdog] sheepdog's recovery alogorithm questions
jidalyg_8711 at 163.com
Thu Mar 17 09:13:57 CET 2011
Can you explain the process of the func find_tgt_node() ?
I can't understand it fully.
发件人： MORITA Kazutaka
发送时间： 2011-03-17 12:38:17
抄送： MORITA Kazutaka; sheepdog
主题： Re: [Sheepdog] sheepdog's recovery alogorithm questions
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sheepdog