<html><body><div style="font-family: garamond,new york,times,serif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>hmlth@t-hamel.fr<br><b>To: </b>"Krutika Dhananjay" &lt;kdhananj@redhat.com&gt;<br><b>Cc: </b>gluster-users@gluster.org<br><b>Sent: </b>Monday, September 21, 2015 8:56:32 PM<br><b>Subject: </b>Re: [Gluster-users] "file changed as we read it" in gluster 3.7.4<br><div><br></div>Thank you, this solved the issue (after a umount/mount). The question <br>now is: what's the catch? Why is this not the default?<br><div><br></div>https://partner-bugzilla.redhat.com/show_bug.cgi?id=1203122<br><div><br></div>The above link makes me think that there is a problem with "readdirp" <br>performances but I'm not sure if the impact is serious or not.</blockquote><div><br></div><div>That's right. Enabling the option can slow down readdirp operations, which is why it is disabled by default.<br></div><div><br></div><div>-Krutika<br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><br><div><br></div>Regards<br><div><br></div>Thomas HAMEL<br><div><br></div>On 2015-09-21 16:14, Krutika Dhananjay wrote:<br>&gt; Could you set 'cluster.consistent-metadata' to 'on' and try the test<br>&gt; again?<br>&gt; <br>&gt; #gluster volume set &lt;VOL&gt; cluster.consistent-metadata on<br>&gt; <br>&gt; -Krutika<br>&gt; <br>&gt; -------------------------<br>&gt; <br>&gt;&gt; FROM: hmlth@t-hamel.fr<br>&gt;&gt; TO: gluster-users@gluster.org<br>&gt;&gt; SENT: Monday, September 21, 2015 7:10:59 PM<br>&gt;&gt; SUBJECT: [Gluster-users] "file changed as we read it" in gluster<br>&gt;&gt; 3.7.4<br>&gt;&gt; <br>&gt;&gt; Hello,<br>&gt;&gt; <br>&gt;&gt; I'm evaluating gluster on Debian, I installed the version 3.7.4 and<br>&gt;&gt; I<br>&gt;&gt; see this kind of error messages when I run tar:<br>&gt;&gt; <br>&gt;&gt; # tar c linux-3.16.7-ckt11/ &gt; /dev/null<br>&gt;&gt; tar: linux-3.16.7-ckt11/sound/soc: file changed as we read it<br>&gt;&gt; tar: linux-3.16.7-ckt11/net: file changed as we read it<br>&gt;&gt; tar: linux-3.16.7-ckt11/Documentation/devicetree/bindings: file<br>&gt;&gt; changed<br>&gt;&gt; as we read it<br>&gt;&gt; tar: linux-3.16.7-ckt11/Documentation: file changed as we read it<br>&gt;&gt; tar: linux-3.16.7-ckt11/tools/perf: file changed as we read it<br>&gt;&gt; tar: linux-3.16.7-ckt11/include/uapi/linux: file changed as we read<br>&gt;&gt; it<br>&gt;&gt; tar: linux-3.16.7-ckt11/arch/powerpc: file changed as we read it<br>&gt;&gt; tar: linux-3.16.7-ckt11/arch/blackfin: file changed as we read it<br>&gt;&gt; tar: linux-3.16.7-ckt11/arch/arm/boot/dts: file changed as we read<br>&gt;&gt; it<br>&gt;&gt; tar: linux-3.16.7-ckt11/arch/arm: file changed as we read it<br>&gt;&gt; tar: linux-3.16.7-ckt11/drivers/media: file changed as we read it<br>&gt;&gt; tar: linux-3.16.7-ckt11/drivers/staging: file changed as we read it<br>&gt;&gt; #<br>&gt;&gt; <br>&gt;&gt; I saw this problem was discussed here earlier but I was under the<br>&gt;&gt; impression it was resolved on the 3.5 series. Is the fix in the 3.7<br>&gt;&gt; branch?<br>&gt;&gt; <br>&gt;&gt; My volume configuration:<br>&gt;&gt; <br>&gt;&gt; # gluster volume info glustervol1<br>&gt;&gt; <br>&gt;&gt; Volume Name: glustervol1<br>&gt;&gt; Type: Replicate<br>&gt;&gt; Volume ID: 71ce34f2-28da-4674-91c9-b19a2b791aef<br>&gt;&gt; Status: Started<br>&gt;&gt; Number of Bricks: 1 x 3 = 3<br>&gt;&gt; Transport-type: tcp<br>&gt;&gt; Bricks:<br>&gt;&gt; Brick1: n1:/glusterfs/n1-2/brick<br>&gt;&gt; Brick2: n2:/glusterfs/n2-2/brick<br>&gt;&gt; Brick3: n3:/glusterfs/n3-2/brick<br>&gt;&gt; Options Reconfigured:<br>&gt;&gt; performance.readdir-ahead: on<br>&gt;&gt; cluster.server-quorum-ratio: 51<br>&gt;&gt; <br>&gt;&gt; Regards<br>&gt;&gt; <br>&gt;&gt; Thomas HAMEL<br>&gt;&gt; _______________________________________________<br>&gt;&gt; Gluster-users mailing list<br>&gt;&gt; Gluster-users@gluster.org<br>&gt;&gt; http://www.gluster.org/mailman/listinfo/gluster-users<br><div><br></div></blockquote><div><br></div></div></body></html>