this issue is being worked on and a patch is submitted to review  at <a href="http://review.gluster.com/440">http://review.gluster.com/440</a><div><br></div><div>for now, if you do &#39;gluster volume set &lt;volname&gt; quick-read off&#39;, this problem should go away.</div>
<div><br></div><div>Regards,</div><div>Amar</div><div><br><div class="gmail_quote">On Fri, Sep 16, 2011 at 4:35 PM, Beat Rubischon <span dir="ltr">&lt;<a href="mailto:beat@0x1b.ch">beat@0x1b.ch</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Einar!<br>
<div class="im"><br>
On 16.09.11 12:44, Einar Gautun wrote:<br>
&gt; I’ve found a serious problem doing this command:<br>
&gt; perl -i -pe &#39;s/something/somethingelse/&#39; filename<br>
<br>
</div>perl opens the same file twice:<br>
<br>
strace perl -i -pe &#39;s/something/somethingelse/&#39; filename<br>
...<br>
open(&quot;filename&quot;, O_RDONLY|O_LARGEFILE)  = 3<br>
open(&quot;filename&quot;, O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0666) = 4<br>
...<br>
close(4)                                = 0<br>
close(3)                                = 0<br>
<br>
Something which currently makes troubles on top of GlusterFS. I had<br>
similar problems with &quot;bzr&quot; aka Bazaar.<br>
<br>
Beat<br>
<br>
--<br>
     \|/                           Beat Rubischon &lt;<a href="mailto:beat@0x1b.ch">beat@0x1b.ch</a>&gt;<br>
   ( 0-0 )                             <a href="http://www.0x1b.ch/~beat/" target="_blank">http://www.0x1b.ch/~beat/</a><br>
oOO--(_)--OOo---------------------------------------------------<br>
Meine Erlebnisse, Gedanken und Traeume: <a href="http://www.0x1b.ch/blog/" target="_blank">http://www.0x1b.ch/blog/</a><br>
<br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@nongnu.org">Gluster-devel@nongnu.org</a><br>
<a href="https://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">https://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
</blockquote></div><br></div>