<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:00:04 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-13296] statfs isn&apos;t work properly with MDT statfs proxy</title>
                <link>https://jira.whamcloud.com/browse/LU-13296</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;statfs don&apos;t work fine sometimes. It&apos;s easy replicate with start a several processes on same time which ask about block size.&lt;/p&gt;

&lt;p&gt;all instances run on same node.&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;% aprun -n 8 ./a.out /lus/snx11242
statfs (/lus/snx11242) f_bsize 0X9003B000
statfs (/lus/snx11242) f_bsize 0X8C19F000
statfs (/lus/snx11242) f_bsize 0X82BFD000
statfs (/lus/snx11242) f_bsize 0X85C31000
statfs (/lus/snx11242) f_bsize 0X8BED2000
statfs (/lus/snx11242) f_bsize 0X835B1000
statfs (/lus/snx11242) f_bsize 0X828E3000
statfs (/lus/snx11242) f_bsize 0X1000
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;log for failed application.&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;00000080:00200000:0.0:1582645192.532388:0:16422:0:(llite_lib.c:1890:ll_statfs()) VFS Op: at 4296762105 jiffies
00000080:00000001:0.0:1582645192.532391:0:16422:0:(llite_lib.c:1838:ll_statfs_internal()) Process entered
00000080:00000001:0.0:1582645192.532392:0:16422:0:(obd_class.h:1051:obd_statfs()) Process entered
00000080:00000004:0.0:1582645192.532394:0:16422:0:(obd_class.h:1063:obd_statfs()) snx11242-clilmv-ffff881f8b680000: age 7262, max_age 7478
00000080:00000004:0.0:1582645192.535406:0:16422:0:(obd_class.h:1083:obd_statfs()) snx11242-clilmv-ffff881f8b680000: new ffff881f9cad8228 cache blocks 3366320026/3419988114 objects 630715697
0/6372092768
00000080:00000001:0.0:1582645192.535408:0:16422:0:(obd_class.h:1103:obd_statfs()) Process leaving (rc=0 : 0 : 0)
00000080:00000004:0.0:1582645192.535409:0:16422:0:(llite_lib.c:1848:ll_statfs_internal()) MDC blocks 18446744071580744875/18446744071582034486 objects 0/1
00000080:00000001:0.0:1582645192.535410:0:16422:0:(llite_lib.c:1851:ll_statfs_internal()) Process leaving via out (rc=0 : 0 : 0x0)
00000080:00000001:0.0:1582645192.535411:0:16422:0:(llite_lib.c:1881:ll_statfs_internal()) Process leaving (rc=0 : 0 : 0)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;regression introduced by &lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;commit b500d5193360711a6c6b07497f34e61cc590cf19
Author: Alex Zhuravlev &amp;lt;bzzz@whamcloud.com&amp;gt;
Date:   Thu Sep 21 18:24:18 2017 +0300

    LU-10018 protocol: MDT as a statfs proxy

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="58185">LU-13296</key>
            <summary>statfs isn&apos;t work properly with MDT statfs proxy</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="shadow">Alexey Lyashkov</assignee>
                                    <reporter username="shadow">Alexey Lyashkov</reporter>
                        <labels>
                    </labels>
                <created>Wed, 26 Feb 2020 12:40:36 +0000</created>
                <updated>Sat, 11 Dec 2021 04:54:30 +0000</updated>
                            <resolved>Thu, 5 Mar 2020 22:44:32 +0000</resolved>
                                    <version>Lustre 2.12.0</version>
                    <version>Lustre 2.12.5</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                    <fixVersion>Lustre 2.12.5</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="264105" author="shadow" created="Wed, 26 Feb 2020 18:13:04 +0000"  >&lt;p&gt;issue replicated easy with several statfs in parallel.&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# cat test
./a.out &amp;amp;
./a.out &amp;amp;
./a.out &amp;amp;
./a.out &amp;amp;
./a.out &amp;amp;
./a.out &amp;amp;
./a.out &amp;amp;
./a.out &amp;amp;

sleep 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
# cat ttt.c
#include &amp;lt;stdio.h&amp;gt;
#include  &amp;lt;sys/statfs.h&amp;gt;

&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; main() {
    struct statfs buf;

    statfs(&lt;span class=&quot;code-quote&quot;&gt;&quot;/mnt/lustre&quot;&lt;/span&gt;, &amp;amp;buf);
    printf(&lt;span class=&quot;code-quote&quot;&gt;&quot;b_size %llx\n&quot;&lt;/span&gt;, buf.f_bsize);
    &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; 0;
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# bash test
b_size 1000
b_size 1000
b_size 0
b_size 0
b_size 0
b_size 0
b_size 0
b_size 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</comment>
                            <comment id="264106" author="shadow" created="Wed, 26 Feb 2020 18:14:58 +0000"  >&lt;p&gt;Root cause of this bug - cached copy ins&apos;t used in case of race between obtain statfs info and refreshing it.&lt;br/&gt;
I will submit fix in near time&lt;/p&gt;</comment>
                            <comment id="264167" author="gerrit" created="Thu, 27 Feb 2020 14:54:10 +0000"  >&lt;p&gt;Alexey Lyashkov (alexey.lyashkov@hpe.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/37753&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37753&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13296&quot; title=&quot;statfs isn&amp;#39;t work properly with MDT statfs proxy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13296&quot;&gt;&lt;del&gt;LU-13296&lt;/del&gt;&lt;/a&gt; obd: make statfs cache working again&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 3773a5c542a9d2f5c1c2ba868e5ce8832700e8a5&lt;/p&gt;</comment>
                            <comment id="264701" author="gerrit" created="Thu, 5 Mar 2020 22:35:11 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/37753/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37753/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13296&quot; title=&quot;statfs isn&amp;#39;t work properly with MDT statfs proxy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13296&quot;&gt;&lt;del&gt;LU-13296&lt;/del&gt;&lt;/a&gt; obd: make statfs cache working again&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 7281635521a823548d497bce2f19acfa3318dfe9&lt;/p&gt;</comment>
                            <comment id="264730" author="pjones" created="Thu, 5 Mar 2020 22:44:32 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&gt;</comment>
                            <comment id="264754" author="gerrit" created="Fri, 6 Mar 2020 01:05:54 +0000"  >&lt;p&gt;Minh Diep (mdiep@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/37819&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37819&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13296&quot; title=&quot;statfs isn&amp;#39;t work properly with MDT statfs proxy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13296&quot;&gt;&lt;del&gt;LU-13296&lt;/del&gt;&lt;/a&gt; obd: make statfs cache working again&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 785965b33c9993103a703034d5ee2a32067eeb8a&lt;/p&gt;</comment>
                            <comment id="266063" author="gerrit" created="Wed, 25 Mar 2020 06:31:55 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/37819/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37819/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13296&quot; title=&quot;statfs isn&amp;#39;t work properly with MDT statfs proxy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13296&quot;&gt;&lt;del&gt;LU-13296&lt;/del&gt;&lt;/a&gt; obd: make statfs cache working again&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 6db1fd1cfc67c639c4817ae00cfe4198882d8e9c&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="67562">LU-15361</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="58166">LU-13285</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="55810">LU-12368</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i00ucf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>