<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
hmm, this idea looks good to me.<br>
<br>
<div class="gmail_quote">On Sun, Oct 9, 2011 at 2:27 PM, Liu Yuan <span dir="ltr">
<<a href="mailto:namei.unix@gmail.com">namei.unix@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<u></u>
<div bgcolor="#ffffff">
<div class="im">On 10/09/2011 02:21 PM, Yibin Shen wrote:
<blockquote type="cite"><br>
<br>
<div class="gmail_quote">On Sun, Oct 9, 2011 at 1:33 PM, Liu Yuan <span dir="ltr">
<<a href="mailto:namei.unix@gmail.com" target="_blank">namei.unix@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div>On 10/09/2011 01:07 PM, MORITA Kazutaka wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
At Sun, 9 Oct 2011 11:21:52 +0800,<br>
Yibin Shen wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
Use mmap is much simpler than local backup image, and without<br>
any influence to consistency. but it doesn't improve availability<br>
while whole sheepdog cluster is die(such as some odd network<br>
partition issue).<br>
<br>
anyway, if no one againsts, I will try to implement it in the<br>
near future (after we solved most stability issues)<br>
</blockquote>
Can we implement it as an extension of the cache mechanism?  If the<br>
local cache file has whole data in the Sheepdog VDI, we can regard it<br>
as a local backup image.<br>
<br>
Thanks,<br>
<br>
Kazutaka<br>
</blockquote>
<br>
</div>
Maybe we can read-ahead in the whole data if network is not busy gradually? When the whole image is read in, we can mark it as 'complete'.  If some time the cluster crashes, the complete image would help the VMs on the very node to survive the crash. The dirty
 bits will be flushed into cluster store in recovery stage.<br>
<br>
</blockquote>
<div>read-ahead whole image into memory? </div>
<br>
</div>
</blockquote>
<br>
</div>
Into file in the local disk, that is supposed to be mmapped into qemu process memory.<br>
<br>
Thanks,<br>
<font color="#888888">Yuan<br>
</font></div>
<br>
--<br>
sheepdog mailing list<br>
<a href="mailto:sheepdog@lists.wpkg.org">sheepdog@lists.wpkg.org</a><br>
<a href="http://lists.wpkg.org/mailman/listinfo/sheepdog" target="_blank">http://lists.wpkg.org/mailman/listinfo/sheepdog</a><br>
<br>
</blockquote>
</div>
<br>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
This email (including any attachments) is confidential and may be legally privileged. If you received this email in error, please delete it immediately and do not copy it or use it for any purpose or disclose its contents to any other person. Thank you.<br>
<br>
本电邮(包括任何附件)可能含有机密资料并受法律保护。如您不是正确的收件人,请您立即删除本邮件。请不要将本电邮进行复制并用作任何其他用途、或透露本邮件之内容。谢谢。<br>
</font>
</body>
</html>