<div dir="ltr">What is the way to take this patch on Gluster 3.7.6 or only way to upgrade the version?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 24, 2017 at 3:22 PM, ABHISHEK PALIWAL <span dir="ltr">&lt;<a href="mailto:abhishpaliwal@gmail.com" target="_blank">abhishpaliwal@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi Kotresh,<br><br></div>I have seen the patch available on the link which you shared. It seems we don&#39;t have some files in gluser 3.7.6 which you modified in the patch.<br><br></div>Is there any possibility to provide the patch for Gluster 3.7.6?<br><br></div>Regards,<br></div>Abhishek<br></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Mon, Apr 24, 2017 at 3:07 PM, Kotresh Hiremath Ravishankar <span dir="ltr">&lt;<a href="mailto:khiremat@redhat.com" target="_blank">khiremat@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Abhishek,<br>
<br>
Bitrot requires versioning of files to be down on writes.<br>
This was being done irrespective of whether bitrot is<br>
enabled or not. This takes considerable CPU. With the<br>
fix <a href="https://review.gluster.org/#/c/14442/" rel="noreferrer" target="_blank">https://review.gluster.org/#/c<wbr>/14442/</a>, it is made<br>
optional and is enabled only with bitrot. If bitrot<br>
is not enabled, then you won&#39;t see any setxattr/getxattrs<br>
related to bitrot.<br>
<br>
The fix would be available in 3.11.<br>
<br>
<br>
Thanks and Regards,<br>
Kotresh H R<br>
<div><div class="m_-2616468921315552513h5"><br>
----- Original Message -----<br>
&gt; From: &quot;ABHISHEK PALIWAL&quot; &lt;<a href="mailto:abhishpaliwal@gmail.com" target="_blank">abhishpaliwal@gmail.com</a>&gt;<br>
&gt; To: &quot;Pranith Kumar Karampuri&quot; &lt;<a href="mailto:pkarampu@redhat.com" target="_blank">pkarampu@redhat.com</a>&gt;<br>
&gt; Cc: &quot;Gluster Devel&quot; &lt;<a href="mailto:gluster-devel@gluster.org" target="_blank">gluster-devel@gluster.org</a>&gt;, &quot;gluster-users&quot; &lt;<a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a>&gt;, &quot;Kotresh Hiremath<br>
&gt; Ravishankar&quot; &lt;<a href="mailto:khiremat@redhat.com" target="_blank">khiremat@redhat.com</a>&gt;<br>
&gt; Sent: Monday, April 24, 2017 11:30:57 AM<br>
&gt; Subject: Re: [Gluster-users] High load on glusterfsd process<br>
&gt;<br>
&gt; Hi Kotresh,<br>
&gt;<br>
&gt; Could you please update me on this?<br>
&gt;<br>
&gt; Regards,<br>
&gt; Abhishek<br>
&gt;<br>
&gt; On Sat, Apr 22, 2017 at 12:31 PM, Pranith Kumar Karampuri &lt;<br>
&gt; <a href="mailto:pkarampu@redhat.com" target="_blank">pkarampu@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; +Kotresh who seems to have worked on the bug you mentioned.<br>
&gt; &gt;<br>
&gt; &gt; On Fri, Apr 21, 2017 at 12:21 PM, ABHISHEK PALIWAL &lt;<br>
&gt; &gt; <a href="mailto:abhishpaliwal@gmail.com" target="_blank">abhishpaliwal@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; If the patch provided in that case will resolve my bug as well then<br>
&gt; &gt;&gt; please provide the patch so that I will backport it on 3.7.6<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; On Fri, Apr 21, 2017 at 11:30 AM, ABHISHEK PALIWAL &lt;<br>
&gt; &gt;&gt; <a href="mailto:abhishpaliwal@gmail.com" target="_blank">abhishpaliwal@gmail.com</a>&gt; wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt; Hi Team,<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; I have noticed that there are so many glusterfsd threads are running in<br>
&gt; &gt;&gt;&gt; my system and we observed some of those thread consuming more cpu. I<br>
&gt; &gt;&gt;&gt; did “strace” on two such threads (before the problem disappeared by<br>
&gt; &gt;&gt;&gt; itself)<br>
&gt; &gt;&gt;&gt; and found that there is a continuous activity like below:<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; lstat(&quot;/opt/lvmdir/c2/brick/.g<wbr>lusterfs/e7/7d/e77d12b3-92f8-4<br>
&gt; &gt;&gt;&gt; dfe-9a7f-246e901cbdf1/002700/f<wbr>irewall_-J208482-4000025_20170<wbr>126T113552+0000.log.gz&quot;,<br>
&gt; &gt;&gt;&gt; {st_mode=S_IFREG|0670, st_size=1995, ...}) = 0<br>
&gt; &gt;&gt;&gt; lgetxattr(&quot;/opt/lvmdir/c2/bric<wbr>k/.glusterfs/e7/7d/e77d12b3-92<br>
&gt; &gt;&gt;&gt; f8-4dfe-9a7f-246e901cbdf1/0027<wbr>00/firewall_-J208482-4000025_<wbr>20170126T113552+0000.log.gz&quot;,<br>
&gt; &gt;&gt;&gt; &quot;trusted.bit-rot.bad-file&quot;, 0x3fff81f58550, 255) = -1 ENODATA (No data<br>
&gt; &gt;&gt;&gt; available)<br>
&gt; &gt;&gt;&gt; lgetxattr(&quot;/opt/lvmdir/c2/bric<wbr>k/.glusterfs/e7/7d/e77d12b3-92<br>
&gt; &gt;&gt;&gt; f8-4dfe-9a7f-246e901cbdf1/0027<wbr>00/firewall_-J208482-4000025_<wbr>20170126T113552+0000.log.gz&quot;,<br>
&gt; &gt;&gt;&gt; &quot;trusted.bit-rot.signature&quot;, 0x3fff81f58550, 255) = -1 ENODATA (No data<br>
&gt; &gt;&gt;&gt; available)<br>
&gt; &gt;&gt;&gt; lstat(&quot;/opt/lvmdir/c2/brick/.g<wbr>lusterfs/e7/7d/e77d12b3-92f8-4<br>
&gt; &gt;&gt;&gt; dfe-9a7f-246e901cbdf1/002700/t<wbr>cli_-J208482-4000025_20170123T<wbr>180550+0000.log.gz&quot;,<br>
&gt; &gt;&gt;&gt; {st_mode=S_IFREG|0670, st_size=169, ...}) = 0<br>
&gt; &gt;&gt;&gt; lgetxattr(&quot;/opt/lvmdir/c2/bric<wbr>k/.glusterfs/e7/7d/e77d12b3-92<br>
</div></div>&gt; &gt;&gt;&gt; f8-4dfe-9a7f-246e901cbdf1/0027<wbr>00/tcli_-J208482-4000025_20170<wbr>123T180550+0000.log.gz&quot;,<br>
<span class="m_-2616468921315552513im m_-2616468921315552513HOEnZb">&gt; &gt;&gt;&gt; &quot;trusted.bit-rot.bad-file&quot;, 0x3fff81f58550, 255) = -1 ENODATA (No data<br>
&gt; &gt;&gt;&gt; available)<br>
&gt; &gt;&gt;&gt; lgetxattr(&quot;/opt/lvmdir/c2/bric<wbr>k/.glusterfs/e7/7d/e77d12b3-92<br>
</span><div class="m_-2616468921315552513HOEnZb"><div class="m_-2616468921315552513h5">&gt; &gt;&gt;&gt; f8-4dfe-9a7f-246e901cbdf1/0027<wbr>00/tcli_-J208482-4000025_20170<wbr>123T180550+0000.log.gz&quot;,<br>
&gt; &gt;&gt;&gt; &quot;trusted.bit-rot.signature&quot;, 0x3fff81f58550, 255) = -1 ENODATA (No data<br>
&gt; &gt;&gt;&gt; available)<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; I have found the below existing issue which is very similar to my<br>
&gt; &gt;&gt;&gt; scenario.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1298258" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/sh<wbr>ow_bug.cgi?id=1298258</a><br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; We are using the gluster-3.7.6 and it seems that the issue is fixed in<br>
&gt; &gt;&gt;&gt; 3.8.4 version.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Could you please let me know why it showing the number of above logs and<br>
&gt; &gt;&gt;&gt; reason behind it as it is not explained in the above bug.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Regards,<br>
&gt; &gt;&gt;&gt; Abhishek<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; --<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Regards<br>
&gt; &gt;&gt;&gt; Abhishek Paliwal<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; --<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Regards<br>
&gt; &gt;&gt; Abhishek Paliwal<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; ______________________________<wbr>_________________<br>
&gt; &gt;&gt; Gluster-users mailing list<br>
&gt; &gt;&gt; <a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
&gt; &gt;&gt; <a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/mailm<wbr>an/listinfo/gluster-users</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Pranith<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Regards<br>
&gt; Abhishek Paliwal<br>
&gt;<br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><div class="m_-2616468921315552513gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br><br><br><br>Regards<br>
Abhishek Paliwal<br>
</div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br><br><br><br>Regards<br>
Abhishek Paliwal<br>
</div></div>
</div>