<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:09:41 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-7530] upcall_cache_flush()) ASSERTION( !atomic_read(&amp;entry-&gt;ue_refcount) ) failed</title>
                <link>https://jira.whamcloud.com/browse/LU-7530</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Just about a week ago I started to see these assertions on master:&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;&amp;lt;4&amp;gt;[90142.530259] Lustre: DEBUG MARKER: == recovery-small test 27: fail LOV while using OSC&apos;s == 14:16:08 (1449602168)
&amp;lt;4&amp;gt;[90144.006796] Lustre: Failing over lustre-MDT0000
&amp;lt;3&amp;gt;[90144.016902] LustreError: 528:0:(mdt_lib.c:493:old_init_ucred_common()) lustre-MDT0000: cli 7f023601-9100-9039-6ea4-5561717d207a/ffff880092a417f0 nodemap not set.
&amp;lt;6&amp;gt;[90144.018588] Lustre: lustre-MDT0000: Not available for connect from 0@lo (stopping)
&amp;lt;0&amp;gt;[90144.116494] LustreError: 1400:0:(upcall_cache.c:378:upcall_cache_flush()) ASSERTION( !atomic_read(&amp;amp;entry-&amp;gt;ue_refcount) ) failed: 
&amp;lt;0&amp;gt;[90144.117605] LustreError: 1400:0:(upcall_cache.c:378:upcall_cache_flush()) LBUG
&amp;lt;4&amp;gt;[90144.118625] Pid: 1400, comm: umount
&amp;lt;4&amp;gt;[90144.123256] 
&amp;lt;4&amp;gt;[90144.123257] Call Trace:
&amp;lt;4&amp;gt;[90144.124529]  [&amp;lt;ffffffffa0ada885&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
&amp;lt;4&amp;gt;[90144.130691]  [&amp;lt;ffffffffa0adae87&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
&amp;lt;4&amp;gt;[90144.132956]  [&amp;lt;ffffffffa0e13a64&amp;gt;] upcall_cache_flush+0x164/0x1c0 [obdclass]
&amp;lt;4&amp;gt;[90144.134555]  [&amp;lt;ffffffffa0e13ae0&amp;gt;] upcall_cache_cleanup+0x20/0xc0 [obdclass]
&amp;lt;4&amp;gt;[90144.135671]  [&amp;lt;ffffffffa08a6627&amp;gt;] mdt_device_fini+0x8c7/0x1450 [mdt]
&amp;lt;4&amp;gt;[90144.136490]  [&amp;lt;ffffffffa0dcfa1c&amp;gt;] ? class_disconnect_exports+0x17c/0x2f0 [obdclass]
&amp;lt;4&amp;gt;[90144.138119]  [&amp;lt;ffffffffa0de8d22&amp;gt;] class_cleanup+0x572/0xd20 [obdclass]
&amp;lt;4&amp;gt;[90144.139591]  [&amp;lt;ffffffffa0dcac8c&amp;gt;] ? class_name2dev+0x7c/0xe0 [obdclass]
&amp;lt;4&amp;gt;[90144.140493]  [&amp;lt;ffffffffa0deb246&amp;gt;] class_process_config+0x1d76/0x26d0 [obdclass]
&amp;lt;4&amp;gt;[90144.142081]  [&amp;lt;ffffffffa0ae6701&amp;gt;] ? libcfs_debug_msg+0x41/0x50 [libcfs]
&amp;lt;4&amp;gt;[90144.143093]  [&amp;lt;ffffffffa0dec05f&amp;gt;] class_manual_cleanup+0x4bf/0xe10 [obdclass]
&amp;lt;4&amp;gt;[90144.144273]  [&amp;lt;ffffffffa0dcac8c&amp;gt;] ? class_name2dev+0x7c/0xe0 [obdclass]
&amp;lt;4&amp;gt;[90144.145183]  [&amp;lt;ffffffffa0e2099c&amp;gt;] server_put_super+0x9bc/0xe80 [obdclass]
&amp;lt;4&amp;gt;[90144.146170]  [&amp;lt;ffffffff811b141a&amp;gt;] ? invalidate_inodes+0xfa/0x180
&amp;lt;4&amp;gt;[90144.147277]  [&amp;lt;ffffffff8119564b&amp;gt;] generic_shutdown_super+0x5b/0xe0
&amp;lt;4&amp;gt;[90144.148106]  [&amp;lt;ffffffff81195736&amp;gt;] kill_anon_super+0x16/0x60
&amp;lt;4&amp;gt;[90144.150251]  [&amp;lt;ffffffffa0def756&amp;gt;] lustre_kill_super+0x36/0x60 [obdclass]
&amp;lt;4&amp;gt;[90144.156662]  [&amp;lt;ffffffff81195ed7&amp;gt;] deactivate_super+0x57/0x80
&amp;lt;4&amp;gt;[90144.158768]  [&amp;lt;ffffffff811b5e2f&amp;gt;] mntput_no_expire+0xbf/0x110
&amp;lt;4&amp;gt;[90144.162013]  [&amp;lt;ffffffff811b699b&amp;gt;] sys_umount+0x7b/0x3a0
&amp;lt;4&amp;gt;[90144.164183]  [&amp;lt;ffffffff8100b112&amp;gt;] system_call_fastpath+0x16/0x1b
&amp;lt;4&amp;gt;[90144.166668] 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I think this is introduced by &lt;a href=&quot;http://review.whamcloud.com/16802&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16802&lt;/a&gt; :&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;+               identity = mdt_identity_get(mdt-&amp;gt;mdt_identity_cache,
...
+       uc-&amp;gt;uc_identity = identity;
 
+       if (nodemap == NULL) {
+               CERROR(&quot;%s: cli %s/%p nodemap not set.\n&quot;,
+                     mdt2obd_dev(mdt)-&amp;gt;obd_name,
+                     info-&amp;gt;mti_exp-&amp;gt;exp_client_uuid.uuid, info-&amp;gt;mti_exp);
+               RETURN(-EACCES);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;So we are leaking the identity refcount in this case where as we did not have that before.&lt;br/&gt;
Probably just need to move the if (nodemap==NULL) check to the start of the function before the mdt_get_identity call?&lt;/p&gt;</description>
                <environment></environment>
        <key id="33519">LU-7530</key>
            <summary>upcall_cache_flush()) ASSERTION( !atomic_read(&amp;entry-&gt;ue_refcount) ) failed</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="green">Oleg Drokin</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 Dec 2015 02:39:41 +0000</created>
                <updated>Mon, 14 Dec 2015 05:27:01 +0000</updated>
                            <resolved>Mon, 14 Dec 2015 05:27:00 +0000</resolved>
                                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="135622" author="gerrit" created="Wed, 9 Dec 2015 02:48:46 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/17519&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17519&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7530&quot; title=&quot;upcall_cache_flush()) ASSERTION( !atomic_read(&amp;amp;entry-&amp;gt;ue_refcount) ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7530&quot;&gt;&lt;del&gt;LU-7530&lt;/del&gt;&lt;/a&gt; mdt: Do not leak identity when no nodemap is present&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 54275f4fb643b8386114ce760ee58142600ae34f&lt;/p&gt;</comment>
                            <comment id="135677" author="kit.westneat" created="Wed, 9 Dec 2015 17:39:00 +0000"  >&lt;p&gt;Interesting, I wonder how the nodemap became null. I guess it must be that the client was disconnected by mdt_obd_disconnect while old_init_ucred was run in a different thread?&lt;/p&gt;</comment>
                            <comment id="135700" author="green" created="Wed, 9 Dec 2015 19:33:36 +0000"  >&lt;p&gt;Yes, that&apos;s plausible, all tests it usually fails on are related to doing stuff while disconnections/reconnections are initiated.&lt;/p&gt;</comment>
                            <comment id="136160" author="gerrit" created="Sun, 13 Dec 2015 20:56:51 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/17519/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17519/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7530&quot; title=&quot;upcall_cache_flush()) ASSERTION( !atomic_read(&amp;amp;entry-&amp;gt;ue_refcount) ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7530&quot;&gt;&lt;del&gt;LU-7530&lt;/del&gt;&lt;/a&gt; mdt: Do not leak identity when no nodemap is present&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 10e516109d7bb9863f1ca066a7e0842b9c7fbcb2&lt;/p&gt;</comment>
                            <comment id="136178" author="pjones" created="Mon, 14 Dec 2015 05:27:01 +0000"  >&lt;p&gt;Landed for 2.8&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="32280">LU-7199</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|hzxva7:</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>