2009/4/8 Alexander Zarochentsev <span dir="ltr">&lt;<a href="mailto:Alexander.Zarochentsev@sun.com">Alexander.Zarochentsev@sun.com</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello Nikita!<br>
<div><div></div><div class="h5"><br>
On 7 April 2009 11:50:29 Nikita Danilov wrote:<br>
&gt; 2009/4/7 Alex Zhuravlev &lt;<a href="mailto:bzzz@sun.com">bzzz@sun.com</a>&gt;<br>
&gt;<br>
&gt; &gt; &gt;&gt;&gt;&gt;&gt; Andreas Dilger (AD) writes:<br>
&gt;<br>
&gt; Hello,<br>
&gt;</div></div></blockquote><div></div><div>[...]<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="h5">&gt; $ echo &gt; a/b/c/d/file # truncate secret data<br>

&gt; $ chmod 777 a # relax permissions<br>
&gt;<br>
&gt; Note that here an ordering between data and meta-data updates on<br>
&gt; _different_ objects is important.<br>
<br>
</div></div>If we only guarantee no reordering in MD updates, Lustre behavior would<br>
be like ext3 without data journalling? I think it is not terrible.</blockquote><div><br>It&#39;s not terrible, but it is non-intuitive, in my opinion. More enlightened file systems, like ZFS, reiser4, and NTFS provide stronger consistency guarantees, ignoring the petty distinctions between data and meta-data. :-)<br>
<br>But even limiting consistency to meta-data leaves some issues opened. For example, think about an md proxy server acting as a WBC client for a higher tier server. To be efficient such proxy might need to cache very large amount of meta-data, and it most likely cannot afford to keep a log of all operations. In this situation, when a lock on a top-level directory gets a blocking AST, proxy would have --to guarantee ordering of visible meta-data updates-- to write back all cached dirty meta-data under this directory before the lock can be cancelled, which might result in unacceptable latency.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">&gt;<br>
&gt; &gt; thanks, Alex<br>
&gt;<br>
&gt; Nikita.<br>
<br>
</div><div><div></div><div class="h5">--<br>
Alexander &quot;Zam&quot; Zarochentsev</div></div></blockquote><div><br>Nikita.<br></div></div><br>