<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:13:43 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-7994] statahead loop in umount</title>
                <link>https://jira.whamcloud.com/browse/LU-7994</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Ever snce first batch of landings in 2.8 I started to get racer clients to lock up on unmount.&lt;/p&gt;

&lt;p&gt;Typical trace:&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;[86663.285011] umount        D 0000000000000001 11016 14155  14148 0x00000000
[86663.285011]  ffff88008a16fd88 0000000000000086 ffff88008a16fd50 ffff88008a16fd4c
[86663.285011]  ffff88008a16fcf8 ffff8800bcc23280 00004ed2e0f1ebbc ffff880006315c00
[86663.285011]  0000000000000000 0000000101497763 ffff880081c0e6b8 ffff88008a16ffd8
[86663.285011] Call Trace:
[86663.285011]  [&amp;lt;ffffffff8152d911&amp;gt;] schedule_timeout+0x191/0x2e0
[86663.285011]  [&amp;lt;ffffffff81088290&amp;gt;] ? process_timeout+0x0/0x10
[86663.285011]  [&amp;lt;ffffffffa0fa4961&amp;gt;] ll_kill_super+0x91/0x180 [lustre]
[86663.285011]  [&amp;lt;ffffffffa05d94c2&amp;gt;] lustre_kill_super+0x42/0x60 [obdclass]
[86663.285011]  [&amp;lt;ffffffff81195ed7&amp;gt;] deactivate_super+0x57/0x80
[86663.285011]  [&amp;lt;ffffffff811b5e2f&amp;gt;] mntput_no_expire+0xbf/0x110
[86663.285011]  [&amp;lt;ffffffff811b699b&amp;gt;] sys_umount+0x7b/0x3a0
[86663.285011]  [&amp;lt;ffffffff8108e64d&amp;gt;] ? sigprocmask+0x8d/0x110
[86663.285011]  [&amp;lt;ffffffff8100b112&amp;gt;] system_call_fastpath+0x16/0x1b
&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;(gdb) l *(ll_kill_super+0x91)
0x24991 is in ll_kill_super (/home/green/bk/linux-2.6.32-573.3.1.el6-debug/arch/x86/include/asm/atomic_64.h:23).
18	 *
19	 * Atomically reads the value of @v.
20	 */
21	&lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; inline &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; atomic_read(&lt;span class=&quot;code-keyword&quot;&gt;const&lt;/span&gt; atomic_t *v)
22	{
23		&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; v-&amp;gt;counter;
24	}
25	
26	/**
27	 * atomic_set - set atomic variable
(gdb) l *(ll_kill_super+0x8f)
0x2498f is in ll_kill_super (/home/green/git/lustre-release/lustre/llite/llite_lib.c:787).
782			sbi-&amp;gt;ll_umounting = 1;
783	
784			&lt;span class=&quot;code-comment&quot;&gt;/* wait running statahead threads to quit */&lt;/span&gt;
785			&lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt; (atomic_read(&amp;amp;sbi-&amp;gt;ll_sa_running) &amp;gt; 0) {
786				set_current_state(TASK_UNINTERRUPTIBLE);
787				schedule_timeout(msecs_to_jiffies(MSEC_PER_SEC &amp;gt;&amp;gt; 3));
788			}
789		}
790	
791		EXIT;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Initially it looked like the cause was this patch: &lt;a href=&quot;http://review.whamcloud.com/18475&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/18475&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But I am not sure.&lt;/p&gt;

&lt;p&gt;Anyway whatever it is, it just seems to be exposing some sort of a reference leak in statahead code.&lt;/p&gt;</description>
                <environment></environment>
        <key id="35952">LU-7994</key>
            <summary>statahead loop in umount</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</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="laisiyao">Lai Siyao</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Apr 2016 14:15:22 +0000</created>
                <updated>Wed, 3 May 2017 17:40:54 +0000</updated>
                            <resolved>Thu, 9 Mar 2017 07:12:06 +0000</resolved>
                                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="148263" author="jgmitter" created="Fri, 8 Apr 2016 18:26:09 +0000"  >&lt;p&gt;Hi Lai,&lt;/p&gt;

&lt;p&gt;Can you please have a look into this issue?&lt;/p&gt;

&lt;p&gt;Thanks.&lt;br/&gt;
Joe&lt;/p&gt;</comment>
                            <comment id="168891" author="gerrit" created="Mon, 10 Oct 2016 08:48:22 +0000"  >&lt;p&gt;Lai Siyao (lai.siyao@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/23040&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/23040&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7994&quot; title=&quot;statahead loop in umount&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7994&quot;&gt;&lt;del&gt;LU-7994&lt;/del&gt;&lt;/a&gt; statahead: add smp_mb() to serialize ops&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a939946e936f3ada6c8c6d39dcd25aaf60e366d0&lt;/p&gt;</comment>
                            <comment id="187594" author="gerrit" created="Thu, 9 Mar 2017 06:11:58 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/23040/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/23040/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7994&quot; title=&quot;statahead loop in umount&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7994&quot;&gt;&lt;del&gt;LU-7994&lt;/del&gt;&lt;/a&gt; statahead: add smp_mb() to serialize ops&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: c5c8d0623a60ee54bd11588a391b3dcd43c1abcf&lt;/p&gt;</comment>
                            <comment id="187612" author="pjones" created="Thu, 9 Mar 2017 07:12:06 +0000"  >&lt;p&gt;Landed for 2.10&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </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|hzy74v:</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>