<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:25:22 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-16253] sanityn: ASSERTION( orro-&gt;oo_ref == 0 ) in 77d</title>
                <link>https://jira.whamcloud.com/browse/LU-16253</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for Alex Zhuravlev &amp;lt;bzzz@whamcloud.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://testing.whamcloud.com/test_sets/8e9b7081-bc95-4443-a2cb-32f33c6b9f54&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/8e9b7081-bc95-4443-a2cb-32f33c6b9f54&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;
[18399.419463] LustreError: 358716:0:(nrs_orr.c:481:nrs_trr_hop_exit()) ASSERTION( orro-&amp;gt;oo_ref == 0 ) failed: Busy NRS TRR policy object for OST with index 3, with 1 refs
[18399.422350] LustreError: 358716:0:(nrs_orr.c:481:nrs_trr_hop_exit()) LBUG
[18399.423651] Pid: 358716, comm: lctl 4.18.0-372.26.1.el8_lustre.x86_64 #1 SMP Wed Oct 5 15:10:35 UTC 2022
[18399.425421] Call Trace TBD:
[18399.426173] [&amp;lt;0&amp;gt;] libcfs_call_trace+0x6f/0x90 [libcfs]
[18399.427258] [&amp;lt;0&amp;gt;] lbug_with_loc+0x3f/0x70 [libcfs]
[18399.428199] [&amp;lt;0&amp;gt;] nrs_trr_hop_exit+0x11c/0x150 [ptlrpc]
[18399.429791] [&amp;lt;0&amp;gt;] cfs_hash_putref+0x1c8/0x4b0 [libcfs]
[18399.430814] [&amp;lt;0&amp;gt;] nrs_orr_stop+0x65/0x270 [ptlrpc]
[18399.431868] [&amp;lt;0&amp;gt;] nrs_policy_stop0+0x38/0x1b0 [ptlrpc]
[18399.432985] [&amp;lt;0&amp;gt;] nrs_policy_stop_primary.isra.10+0x181/0x1d0 [ptlrpc]
[18399.434361] [&amp;lt;0&amp;gt;] nrs_policy_start_locked+0x467/0x660 [ptlrpc]
[18399.435581] [&amp;lt;0&amp;gt;] nrs_policy_ctl+0x203/0x2d0 [ptlrpc]
[18399.436678] [&amp;lt;0&amp;gt;] ptlrpc_nrs_policy_control+0x10f/0x2f0 [ptlrpc]
[18399.437926] [&amp;lt;0&amp;gt;] ptlrpc_lprocfs_nrs_policies_seq_write+0x473/0x5e0 [ptlrpc]
[18399.439365] [&amp;lt;0&amp;gt;] full_proxy_write+0x53/0x80
[18399.440266] [&amp;lt;0&amp;gt;] vfs_write+0xa5/0x1a0
[18399.441031] [&amp;lt;0&amp;gt;] ksys_write+0x4f/0xb0
[18399.441796] [&amp;lt;0&amp;gt;] do_syscall_64+0x5b/0x1a0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="72864">LU-16253</key>
            <summary>sanityn: ASSERTION( orro-&gt;oo_ref == 0 ) in 77d</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="flei">Feng Lei </assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                    </labels>
                <created>Wed, 19 Oct 2022 17:21:48 +0000</created>
                <updated>Sun, 20 Aug 2023 13:46:25 +0000</updated>
                            <resolved>Sun, 20 Aug 2023 13:46:25 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="350213" author="adilger" created="Wed, 19 Oct 2022 19:21:26 +0000"  >&lt;p&gt;Etienne, is this related to your recently landed patch &lt;a href=&quot;https://review.whamcloud.com/48494&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48494&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16144&quot; title=&quot;OST crash at umount in ptlrpc_nrs_req_stop_nolock (with TBF policy).&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16144&quot;&gt;&lt;del&gt;LU-16144&lt;/del&gt;&lt;/a&gt; nrs: implement force mode for nrs_tbf_req_get()&lt;/tt&gt;&quot;?&lt;/p&gt;</comment>
                            <comment id="356899" author="eaujames" created="Mon, 19 Dec 2022 21:40:20 +0000"  >&lt;p&gt;Andreas, sorry for my late answer (I missed this comment).&lt;br/&gt;
This does not to seem likely, &lt;a href=&quot;https://review.whamcloud.com/48494&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48494&lt;/a&gt; implements a force mode for TBF it does not change start/stop policies logics. And nrs_orr_req_get() does not implement &quot;force&quot; mode, so it should not be impacted by this patch.&lt;br/&gt;
&lt;a href=&quot;https://review.whamcloud.com/48523/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48523/&lt;/a&gt; &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14976&quot; title=&quot;Changing tbf policy induces high CPU load&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14976&quot;&gt;&lt;del&gt;LU-14976&lt;/del&gt;&lt;/a&gt; nrs: change nrs policies at run time&quot; is more likely to provoke those kinds of crashes.&lt;/p&gt;</comment>
                            <comment id="374913" author="flei" created="Fri, 9 Jun 2023 03:03:37 +0000"  >&lt;p&gt;&lt;tt&gt;orro-&amp;gt;oo_ref&lt;/tt&gt; is a reference count but not an atomic type, so there should be a lock to protect it. Usually it is protected with the hash bucket lock if it is changed from the call path &lt;tt&gt;nrs_trr_hash_ops.hs_get()&lt;/tt&gt; or &lt;tt&gt;nrs_trr_hash_ops.hs_put_locked()&lt;/tt&gt;. So if it is changed from &lt;tt&gt;cfs_hash_ops.hs_put()&lt;/tt&gt;, the function should hold the lock by itself.&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;nrs_trr_hash_ops.hs_put&lt;/tt&gt; is filled with &lt;tt&gt;nrs_orr_hop_put()&lt;/tt&gt;, which does not hold the bucket lock. It is a race condition.&lt;/p&gt;

&lt;p&gt;Make sense?&lt;/p&gt;</comment>
                            <comment id="374915" author="gerrit" created="Fri, 9 Jun 2023 03:14:05 +0000"  >&lt;p&gt;&quot;Feng Lei &amp;lt;flei@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/51260&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/51260&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16253&quot; title=&quot;sanityn: ASSERTION( orro-&amp;gt;oo_ref == 0 ) in 77d&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16253&quot;&gt;&lt;del&gt;LU-16253&lt;/del&gt;&lt;/a&gt; ptlrpc: define nrs_orr_object.oo_ref atomic_t&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 28782c745172b65b2992ef1ab751bf79161382a0&lt;/p&gt;</comment>
                            <comment id="375068" author="simmonsja" created="Sat, 10 Jun 2023 20:41:37 +0000"  >&lt;p&gt;Patch &lt;a href=&quot;https://review.whamcloud.com/#/c/fs/lustre-release/+/40113&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/fs/lustre-release/+/40113&lt;/a&gt; for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8130&quot; title=&quot;Migrate from libcfs hash to rhashtable&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8130&quot;&gt;LU-8130&lt;/a&gt; already address this issue.&lt;/p&gt;</comment>
                            <comment id="383085" author="simmonsja" created="Sun, 20 Aug 2023 13:46:10 +0000"  >&lt;p&gt;Patch 40113 landed which resolved this problem.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="31081">LU-6849</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="72268">LU-16144</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="36869">LU-8130</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|i033af:</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>