<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:15:35 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-8211] LustreError: 9676:0:(nrs_tbf.c:89:nrs_tbf_rule_fini()) ASSERTION( list_empty(&amp;rule-&gt;tr_cli_list) ) failed: ^M</title>
                <link>https://jira.whamcloud.com/browse/LU-8211</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;enabling tbf then disabling without creating any rules triggers LBUG.&lt;/p&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;LustreError: 9676:0:(nrs_tbf.c:89:nrs_tbf_rule_fini()) ASSERTION( list_empty(&amp;amp;rule-&amp;gt;tr_cli_list) ) failed: ^M
LustreError: 9676:0:(nrs_tbf.c:89:nrs_tbf_rule_fini()) LBUG^M
Pid: 9676, comm: lctl^M
^M
Call Trace:^M
 [&amp;lt;ffffffffa040e895&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]^M
 [&amp;lt;ffffffffa040ee97&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]^M
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>2.7.1-fe</environment>
        <key id="37237">LU-8211</key>
            <summary>LustreError: 9676:0:(nrs_tbf.c:89:nrs_tbf_rule_fini()) ASSERTION( list_empty(&amp;rule-&gt;tr_cli_list) ) failed: ^M</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="4">Incomplete</resolution>
                                        <assignee username="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="mhanafi">Mahmoud Hanafi</reporter>
                        <labels>
                    </labels>
                <created>Fri, 27 May 2016 18:47:41 +0000</created>
                <updated>Thu, 22 Sep 2016 21:45:29 +0000</updated>
                            <resolved>Thu, 22 Sep 2016 21:45:29 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="153874" author="pjones" created="Fri, 27 May 2016 20:33:16 +0000"  >&lt;p&gt;Emoly&lt;/p&gt;

&lt;p&gt;Could you please advise?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="153937" author="qian" created="Sun, 29 May 2016 07:26:07 +0000"  >&lt;p&gt;I have tries the following commands:&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@QYJ tests&amp;#93;&lt;/span&gt;# lctl set_param ost.OSS.ost_io.nrs_policies=&quot;tbf nid&quot;&lt;br/&gt;
ost.OSS.ost_io.nrs_policies=tbf nid&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@QYJ tests&amp;#93;&lt;/span&gt;# lctl set_param ost.OSS.ost_io.nrs_policies=&quot;fifo&quot;&lt;br/&gt;
ost.OSS.ost_io.nrs_policies=fifo&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@QYJ tests&amp;#93;&lt;/span&gt;# lctl set_param ost.OSS.ost_io.nrs_policies=&quot;tbf nid&quot;&lt;br/&gt;
ost.OSS.ost_io.nrs_policies=tbf nid&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@QYJ tests&amp;#93;&lt;/span&gt;# lctl set_param ost.OSS.ost_io.nrs_tbf_rule=&quot;stop A&quot;&lt;br/&gt;
but it didn&apos;t trigger andy panic failure, could you please post your operation commands in details?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Qian&lt;/p&gt;</comment>
                            <comment id="153938" author="lixi" created="Sun, 29 May 2016 07:50:51 +0000"  >&lt;p&gt;Hi Mahmoud,&lt;/p&gt;

&lt;p&gt;Is following patch merged in your branch?&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6939&quot; title=&quot;nrs_tbf.c:155:nrs_tbf_cli_reset()) ASSER TION( cli-&amp;gt;tc_rule == ((void *)0) ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6939&quot;&gt;&lt;del&gt;LU-6939&lt;/del&gt;&lt;/a&gt; nrs: add lock to protect TBF rule linkage&lt;/p&gt;</comment>
                            <comment id="153960" author="emoly.liu" created="Mon, 30 May 2016 07:20:33 +0000"  >&lt;p&gt;Mahmoud, as Qian&amp;amp;LiXi said, could you please provide more information to show how to reproduce this LBUG and check your branch? Thanks.&lt;/p&gt;</comment>
                            <comment id="154156" author="jaylan" created="Tue, 31 May 2016 18:00:37 +0000"  >&lt;p&gt;Hi Li Xi, we do not have the &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6939&quot; title=&quot;nrs_tbf.c:155:nrs_tbf_cli_reset()) ASSER TION( cli-&amp;gt;tc_rule == ((void *)0) ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6939&quot;&gt;&lt;del&gt;LU-6939&lt;/del&gt;&lt;/a&gt; patch cherry-picked to our tree. We rebase to b2_7_fe periodically, but &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6939&quot; title=&quot;nrs_tbf.c:155:nrs_tbf_cli_reset()) ASSER TION( cli-&amp;gt;tc_rule == ((void *)0) ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6939&quot;&gt;&lt;del&gt;LU-6939&lt;/del&gt;&lt;/a&gt; has not landed to b2_7_fe yet.&lt;/p&gt;

&lt;p&gt;Our git repo, since b2_7_fe is private, our nas-2.7.1 repo is a private repo as well:&lt;br/&gt;
&lt;a href=&quot;https://github.com/NASAEarthExchange/lustre-nas-fe/commits/nas-2.7.1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/NASAEarthExchange/lustre-nas-fe/commits/nas-2.7.1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Either you give me your github ID and I can add yours to the member list or you can use Peter Jones&apos; ID to access the tree.&lt;/p&gt;</comment>
                            <comment id="154161" author="mhanafi" created="Tue, 31 May 2016 18:51:24 +0000"  >&lt;p&gt;Is there a way for us to get a complete list of landed NRS/TBF patches not in 2.7.1-fe? I don&apos;t want to keep opening LU on landed patches. For example I just hit where the server locks up. Backtrace showed this.&lt;/p&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;PID: 32437  TASK: ffff881032c35520  CPU: 3   COMMAND: &lt;span class=&quot;code-quote&quot;&gt;&quot;ldlm_cn02_023&quot;&lt;/span&gt;
 #0 [ffff88085c426e90] crash_nmi_callback at ffffffff81032256
 #1 [ffff88085c426ea0] notifier_call_chain at ffffffff81568515
 #2 [ffff88085c426ee0] atomic_notifier_call_chain at ffffffff8156857a
 #3 [ffff88085c426ef0] notify_die at ffffffff810a44fe
 #4 [ffff88085c426f20] do_nmi at ffffffff8156618f
 #5 [ffff88085c426f50] nmi at ffffffff815659f0
    [exception RIP: _spin_lock+30]
    RIP: ffffffff8156525e  RSP: ffff88085c423e78  RFLAGS: 00000097
    RAX: 0000000000004603  RBX: ffff880f5ea080e0  RCX: 0000000000000000
    RDX: 0000000000004602  RSI: ffff88085c430658  RDI: ffff880f5ea080e0
    RBP: ffff88085c423e78   R8: 0000000000000000   R9: 0000000000000001
    R10: 000000000000002c  R11: 00000000000000b4  R12: ffff880f5ea08000
    R13: ffff88085c430600  R14: ffff88085c423f28  R15: ffffffffa07e4b50
    ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018
--- &amp;lt;NMI exception stack&amp;gt; ---
 #6 [ffff88085c423e78] _spin_lock at ffffffff8156525e
 #7 [ffff88085c423e80] nrs_tbf_timer_cb at ffffffffa07e4b7a [ptlrpc]
 #8 [ffff88085c423ea0] __run_hrtimer at ffffffff810a29ae
 #9 [ffff88085c423ef0] hrtimer_interrupt at ffffffff810a2d46
#10 [ffff88085c423f70] local_apic_timer_interrupt at ffffffff8103433d
#11 [ffff88085c423f90] smp_apic_timer_interrupt at ffffffff8156ae25
#12 [ffff88085c423fb0] apic_timer_interrupt at ffffffff8100bc13
--- &amp;lt;IRQ stack&amp;gt; ---
#13 [ffff880d87207c68] apic_timer_interrupt at ffffffff8100bc13
    [exception RIP: nrs_resource_get_safe+88]
    RIP: ffffffffa07d7358  RSP: ffff880d87207d10  RFLAGS: 00000206
    RAX: 0000000000004602  RBX: ffff880d87207d40  RCX: 0000000000000000
    RDX: 0000000000004602  RSI: ffff880efb387778  RDI: ffff880fd2033140
    RBP: ffffffff8100bc0e   R8: ffff880f5ea080e0   R9: 0000000000000000
    R10: 000000000000002c  R11: 00000000000000b4  R12: ffff880d87207c90
    R13: ffff880e4c2fc3d8  R14: ffffffffa086b640  R15: ffff881000000007
    ORIG_RAX: ffffffffffffff10  CS: 0010  SS: 0018
#14 [ffff880d87207d48] ptlrpc_nrs_req_initialize at ffffffffa07d9dab [ptlrpc]
#15 [ffff880d87207d68] ptlrpc_server_handle_req_in at ffffffffa079c647 [ptlrpc]
#16 [ffff880d87207da8] ptlrpc_main at ffffffffa07a484c [ptlrpc]
#17 [ffff880d87207ee8] kthread at ffffffff8109dc8e
#18 [ffff880d87207f48] kernel_thread at ffffffff8100c28a



PID: 32405  TASK: ffff880f2c04eab0  CPU: 5   COMMAND: &lt;span class=&quot;code-quote&quot;&gt;&quot;ldlm_cn02_004&quot;&lt;/span&gt;
 #0 [ffff88085c446e90] crash_nmi_callback at ffffffff81032256
 #1 [ffff88085c446ea0] notifier_call_chain at ffffffff81568515
 #2 [ffff88085c446ee0] atomic_notifier_call_chain at ffffffff8156857a
 #3 [ffff88085c446ef0] notify_die at ffffffff810a44fe
 #4 [ffff88085c446f20] do_nmi at ffffffff8156618f
 #5 [ffff88085c446f50] nmi at ffffffff815659f0
    [exception RIP: _spin_lock+33]
    RIP: ffffffff81565261  RSP: ffff880af029dd00  RFLAGS: 00000293
    RAX: 0000000000004605  RBX: ffff880efb387478  RCX: 0000000000000000
    RDX: 0000000000004602  RSI: ffff880efb387478  RDI: ffff880f5ea080e0
    RBP: ffff880af029dd00   R8: ffff880f5ea080e0   R9: 0000000000000000
    R10: 0000000000000031  R11: 00000000000000b4  R12: ffff880efb387478
    R13: ffff880eb3ae53c0  R14: ffff880f5ea080e0  R15: 0000000000000000
    ORIG_RAX: ffffffffffffffff  CS: 0010  SS: 0018
--- &amp;lt;NMI exception stack&amp;gt; ---
 #6 [ffff880af029dd00] _spin_lock at ffffffff81565261
 #7 [ffff880af029dd08] nrs_resource_get_safe at ffffffffa07d7341 [ptlrpc]
 #8 [ffff880af029dd48] ptlrpc_nrs_req_initialize at ffffffffa07d9dab [ptlrpc]
 #9 [ffff880af029dd68] ptlrpc_server_handle_req_in at ffffffffa079c647 [ptlrpc]
#10 [ffff880af029dda8] ptlrpc_main at ffffffffa07a484c [ptlrpc]
#11 [ffff880af029dee8] kthread at ffffffff8109dc8e
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="154669" author="lixi" created="Sat, 4 Jun 2016 13:29:38 +0000"  >&lt;p&gt;Hi, Mahmoud&lt;/p&gt;

&lt;p&gt;The dump stack looks like following issue. And it has an patch which has already been merged into master branch. Would you please check whether your branch has merged this patch?&lt;br/&gt;
&lt;a href=&quot;https://jira.hpdd.intel.com/browse/LU-5717&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jira.hpdd.intel.com/browse/LU-5717&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also, please check whether following patches are merged too:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6939&quot; title=&quot;nrs_tbf.c:155:nrs_tbf_cli_reset()) ASSER TION( cli-&amp;gt;tc_rule == ((void *)0) ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6939&quot;&gt;&lt;del&gt;LU-6939&lt;/del&gt;&lt;/a&gt; nrs: add lock to protect TBF rule linkage&lt;br/&gt;
&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5717&quot; title=&quot;Dead lock of nrs_tbf_timer_cb&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5717&quot;&gt;&lt;del&gt;LU-5717&lt;/del&gt;&lt;/a&gt; ptlrpc: fix deadlock problem of nrs_tbf_timer_cb (this problem)&lt;br/&gt;
&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6921&quot; title=&quot;sanityn 77f test failed Lustre: DEBUG MARKER: sanityn test_77f: @@@@@@ FAIL: failed to operate on TBF rules&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6921&quot;&gt;&lt;del&gt;LU-6921&lt;/del&gt;&lt;/a&gt; test: failed to operate on TBF rules (only test bug)&lt;br/&gt;
&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5580&quot; title=&quot;Switch between &amp;#39;JOBID&amp;#39; and &amp;#39;NID&amp;#39; directly in NRS TBF&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5580&quot;&gt;&lt;del&gt;LU-5580&lt;/del&gt;&lt;/a&gt; ptlrpc: policy switch directly in tbf (feature improvement)&lt;br/&gt;
&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5379&quot; title=&quot;Get error when has many rules in nrs tbf policy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5379&quot;&gt;&lt;del&gt;LU-5379&lt;/del&gt;&lt;/a&gt; ptlprc: return 0 if buf in struct seq_file is overflow (when too many rules are defined, accessing nrs_tbf_rule would return error)&lt;br/&gt;
&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5320&quot; title=&quot;Use after free, double lock found by coccinelle&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5320&quot;&gt;&lt;del&gt;LU-5320&lt;/del&gt;&lt;/a&gt;: fixes for errors found by coccinelle (An lock error of TBF, which might cause deadlock)&lt;/p&gt;

&lt;p&gt;And following patches are still under review, but worth to be merged for improvement:&lt;br/&gt;
&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7470&quot; title=&quot;Extend TBF policy with NID/JobID expressions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7470&quot;&gt;&lt;del&gt;LU-7470&lt;/del&gt;&lt;/a&gt; nrs: extend TBF with NID/JobID expression&lt;br/&gt;
&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8006&quot; title=&quot;Specify ordering of TBF policy rules&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8006&quot;&gt;&lt;del&gt;LU-8006&lt;/del&gt;&lt;/a&gt; ptlrpc: specify ordering of TBF policy rules&lt;br/&gt;
&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8006&quot; title=&quot;Specify ordering of TBF policy rules&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8006&quot;&gt;&lt;del&gt;LU-8006&lt;/del&gt;&lt;/a&gt; ptlrpc: cleanup codes of TBF command&lt;/p&gt;

&lt;p&gt;And also, if client side QoS is useful for your use case, please check:&lt;br/&gt;
&lt;a href=&quot;https://jira.hpdd.intel.com/browse/LU-7982&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jira.hpdd.intel.com/browse/LU-7982&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="154671" author="lixi" created="Sat, 4 Jun 2016 13:34:17 +0000"  >&lt;p&gt;Hi Jay,&lt;/p&gt;

&lt;p&gt;Sorry for missing you message. My Github ID is ddn-lixi. Would you please add me to the group? Thanks!&lt;/p&gt;</comment>
                            <comment id="154798" author="jaylan" created="Mon, 6 Jun 2016 18:31:04 +0000"  >&lt;p&gt;Our production systems are running 2.7.1-4.1nasS. That build does not have most of the NRS TBF patches.&lt;/p&gt;

&lt;p&gt;Our next images on deck to be installed is 2.7.1-5nasS. It has all landed patches except &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6939&quot; title=&quot;nrs_tbf.c:155:nrs_tbf_cli_reset()) ASSER TION( cli-&amp;gt;tc_rule == ((void *)0) ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6939&quot;&gt;&lt;del&gt;LU-6939&lt;/del&gt;&lt;/a&gt;, but none of the unlanded.&lt;/p&gt;

&lt;p&gt;Our 2.7.2-1nas images for testing also includes &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6939&quot; title=&quot;nrs_tbf.c:155:nrs_tbf_cli_reset()) ASSER TION( cli-&amp;gt;tc_rule == ((void *)0) ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6939&quot;&gt;&lt;del&gt;LU-6939&lt;/del&gt;&lt;/a&gt;, but none of the unlanded.&lt;/p&gt;</comment>
                            <comment id="154799" author="jaylan" created="Mon, 6 Jun 2016 18:35:24 +0000"  >&lt;p&gt;Hi Li Xi,&lt;/p&gt;

&lt;p&gt;I am sure you has access privilege to b2_7_fe, but I just want to double check before I add you to our lustre-nas-fe repo access list. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="166930" author="mhanafi" created="Thu, 22 Sep 2016 16:19:29 +0000"  >&lt;p&gt;Can be closed&lt;/p&gt;</comment>
                    </comments>
                    <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_10490" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>End date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 6 Jun 2016 18:47:41 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzyd0f:</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>
                                                                                                                        <customfield id="customfield_10493" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 27 May 2016 18:47:41 +0000</customfieldvalue>

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