<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:41:14 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-4272] lu_device_fini()) ASSERTION( cfs_atomic_read(&amp;d-&gt;ld_ref) == 0 ) failed from lovsub_device_free</title>
                <link>https://jira.whamcloud.com/browse/LU-4272</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Apparently we have a problem with inode cleaning on unmount exposed by at least nfs.&lt;/p&gt;

&lt;p&gt;The easiest reproducer I have right now is this:&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;sh llmount.sh
echo 0 &amp;gt;/proc/sys/lnet/panic_on_lbug
service nfs start
mount localhost:/mnt/lustre /mnt/nfs -t nfs
touch /mnt/nfs/file
ls -l /mnt/lustre
cp -f /etc/passwd /mnt/nfs/file

umount /mnt/nfs
service nfs stop
sh llmountcleanup.sh
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Reading the logs, It appears that after the write file dentry is deleted, but because we have locks on inode - it stays in place (unlike when we do not use nfs where it also goes away after sync).&lt;br/&gt;
Then on unmount file inode is found, but is considered dirty and not cleaned, meaning the layout lock and objects remain in place.&lt;br/&gt;
Now we get to kill_super and that blows up trying to clean up lov.&lt;/p&gt;</description>
                <environment></environment>
        <key id="22164">LU-4272</key>
            <summary>lu_device_fini()) ASSERTION( cfs_atomic_read(&amp;d-&gt;ld_ref) == 0 ) failed from lovsub_device_free</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="3">Duplicate</resolution>
                                        <assignee username="niu">Niu Yawei</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                            <label>nfs</label>
                    </labels>
                <created>Tue, 19 Nov 2013 14:05:13 +0000</created>
                <updated>Sat, 29 Aug 2015 03:15:13 +0000</updated>
                            <resolved>Sat, 29 Aug 2015 03:15:13 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>10</watches>
                                                                            <comments>
                            <comment id="72500" author="pjones" created="Thu, 28 Nov 2013 22:53:21 +0000"  >&lt;p&gt;Niu&lt;/p&gt;

&lt;p&gt;Is this related to your patch for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2613&quot; title=&quot;opening and closing file can generate &amp;#39;unreclaimable slab&amp;#39; space&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2613&quot;&gt;&lt;del&gt;LU-2613&lt;/del&gt;&lt;/a&gt;?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="72501" author="adilger" created="Thu, 28 Nov 2013 22:53:22 +0000"  >&lt;p&gt;This might be a side effect of the &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2613&quot; title=&quot;opening and closing file can generate &amp;#39;unreclaimable slab&amp;#39; space&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2613&quot;&gt;&lt;del&gt;LU-2613&lt;/del&gt;&lt;/a&gt; patch landing.&lt;/p&gt;</comment>
                            <comment id="72504" author="niu" created="Fri, 29 Nov 2013 03:19:45 +0000"  >&lt;p&gt;I can&apos;t reproduce it with current master. Oleg, did you test it with clean master?&lt;/p&gt;</comment>
                            <comment id="79116" author="jlevi" created="Wed, 12 Mar 2014 13:27:08 +0000"  >&lt;p&gt;Has this been reproduced? Does the problem still exist or should this ticket be closed?&lt;/p&gt;</comment>
                            <comment id="80219" author="green" created="Tue, 25 Mar 2014 14:39:28 +0000"  >&lt;p&gt;The problem still exists, I just tried all the steps on current master and it still fails in the exact same way&lt;/p&gt;</comment>
                            <comment id="80348" author="niu" created="Thu, 27 Mar 2014 00:17:16 +0000"  >&lt;p&gt;It&apos;s strange, I tried again, but it still can&apos;t be reproduced in my test environment. Oleg, could you post the log here for analysis? Thank you.&lt;/p&gt;</comment>
                            <comment id="84803" author="jlevi" created="Fri, 23 May 2014 18:46:43 +0000"  >&lt;p&gt;Oleg,&lt;br/&gt;
Is this problem still occurring? If so, would you be able to provide the logs for Niu?&lt;br/&gt;
Thank you!&lt;/p&gt;</comment>
                            <comment id="100072" author="adilger" created="Tue, 25 Nov 2014 18:57:34 +0000"  >&lt;p&gt;Oleg, if you are no longer able to reproduce this, please close it with &quot;Cannot Reproduce&quot; to get it off the tracking list.&lt;/p&gt;</comment>
                            <comment id="121465" author="jgmitter" created="Thu, 16 Jul 2015 17:46:06 +0000"  >&lt;p&gt;Oleg is testing patch from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6794&quot; title=&quot;memory leak in Lustre NFS support code, LASSERT() at unmount&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6794&quot;&gt;&lt;del&gt;LU-6794&lt;/del&gt;&lt;/a&gt; to see if it resolves this issue.  He will close this as a duplicate if it is resolved.&lt;/p&gt;</comment>
                            <comment id="125611" author="green" created="Sat, 29 Aug 2015 03:15:13 +0000"  >&lt;p&gt;it was fixed by &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6794&quot; title=&quot;memory leak in Lustre NFS support code, LASSERT() at unmount&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6794&quot;&gt;&lt;del&gt;LU-6794&lt;/del&gt;&lt;/a&gt; which is essentially the same patch.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="30909">LU-6794</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="17161">LU-2613</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hzw9pr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>11737</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>