<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16722"><LINK rel=stylesheet
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"></HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT size=2 face=Verdana>
<DIV><FONT size=2 face=Verdana>Hi,Kazutaka</FONT></DIV>
<DIV> </DIV>
<DIV>I'm reading the source code of the sheepdog, and have some questions.</DIV>
<DIV>1. sheep/group.c</DIV>
<DIV>
<DIV> 787 <STRONG> if (m->state == DM_INIT && is_master()) {</STRONG></DIV>
<DIV> 788 switch (m->op) {</DIV>
<DIV> 789 case SD_MSG_JOIN:</DIV>
<DIV> 790 break; </DIV>
<DIV> 791 case SD_MSG_VDI_OP:</DIV>
<DIV> 792 vdi_op((struct vdi_op_message *)m);</DIV>
<DIV> 793 break; </DIV>
<DIV> 794 default:</DIV>
<DIV> 795 eprintf("unknown message %d\n", m->op);</DIV>
<DIV> 796 break; </DIV>
<DIV> 797 } </DIV>
<DIV> 798 }</DIV></DIV></FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV>Why the operation of the vdi must be done by master? When other nodes
do the vdi operations? how about the synchronization ?</DIV>
<DIV> </DIV>
<DIV>2. after delete the vdi ,but the vdi object doesn'g delete ,and the
data object delete . why ?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Thanks!</DIV>
<DIV> </DIV>
<DIV>yaronli</DIV>
<DIV> </DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2011-03-07
</FONT></DIV><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN>jidalyg_8711</SPAN>
</FONT></DIV></FONT></BODY></HTML>