<br><br><div class="gmail_quote">On Fri, Apr 2, 2010 at 5:49 PM, Stephan von Krawczynski <span dir="ltr">&lt;<a href="mailto:skraw@ithnet.com">skraw@ithnet.com</a>&gt;</span> wrote:<br><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">On Fri, 02 Apr 2010 14:41:36 +0100<br>
Gordan Bobic &lt;<a href="mailto:gordan@bobich.net">gordan@bobich.net</a>&gt; wrote:<br>
<br>
&gt; On 02/04/2010 12:32, Olivier Le Cam wrote:<br>
&gt;<br>
&gt; &gt; Following to a recent talk on the IRC channel, it came to my mind that<br>
&gt; &gt; caching lookups could (in this particular situation) greatly improve the<br>
&gt; &gt; performances.<br>
&gt;<br>
&gt; Maybe some of the devs can explain whether this is plausible, but I<br>
&gt; somewhat doubt it. You would lose the integrity guarantees.<br>
<br>
</div>If you&#39;re talking of data integrity here I doubt that it is there at all.<br>
Yesterday I checked a configuration with 2.0.9 replication and 3 clients with<br>
iocache. I found out that if I edit an ascii file on one client and save it<br>
back being the same size as before, another client still sees the old file<br>
content. I checked the servers and found that they all contained the correct<br>
new file version. So the data integrity is broken anyway when using iocache on<br>
clients<br></blockquote><div><br>This is quite expected, since the client on which the data is being read has cached the data. io-cache has cache-timeout option which can be tuned to force the clients to check whether the file has changed on server after configured time intervals.<br>
<br>However also please note that, if the file is being modified and read from the same client, this issue would/should not have happened.<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;">

.<br>
&gt; Gordan<br>
<br>
--<br>
Regards,<br>
<font color="#888888">Stephan<br>
</font><div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@nongnu.org">Gluster-devel@nongnu.org</a><br>
<a href="http://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">http://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Raghavendra G<br><br>