[Sheepdog] sheepdog's recovery alogorithm questions

jidalyg_8711 jidalyg_8711 at 163.com
Thu Mar 17 09:13:57 CET 2011


hi, Kazutaka
Can you explain the process of the func find_tgt_node() ? 
I can't understand it fully.

Thanks~

yaronli

2011-03-17 



jidalyg_8711 



发件人: MORITA Kazutaka 
发送时间: 2011-03-17  12:38:17 
收件人: jidalyg_8711 
抄送: MORITA Kazutaka; sheepdog 
主题: Re: [Sheepdog] sheepdog's recovery alogorithm questions 
 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20110317/70aa9e61/attachment-0003.html>


More information about the sheepdog mailing list