<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:05:57 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-7096] Unprotected critical section in nrs_policy_stop</title>
                <link>https://jira.whamcloud.com/browse/LU-7096</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The execution flow to stopping a NRS policy is not safe, and concurrent execution of a policy&apos; stop function can happen, leading to instant crashes.&lt;/p&gt;

&lt;p&gt;For instance:&lt;br/&gt;
    lctl set_param ost.OSS.ost_io.nrs_policies=orr&lt;br/&gt;
    lctl set_param ost.OSS.ost_io.nrs_policies=fifo &amp;amp; sleep 0.1 &amp;amp;&amp;amp; \&lt;br/&gt;
        lctl set_param ost.OSS.ost_io.nrs_orr_quantum=32&lt;/p&gt;

&lt;p&gt;leads to a crash in:&lt;br/&gt;
  &lt;span class=&quot;error&quot;&gt;&amp;#91;...&amp;#93;&lt;/span&gt;&lt;br/&gt;
   #6 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff880098c99cc0&amp;#93;&lt;/span&gt; kmem_cache_destroy at ffffffff811772bc&lt;br/&gt;
   #7 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff880098c99ce0&amp;#93;&lt;/span&gt; nrs_orr_stop at ffffffffa139d8a8 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
   #8 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff880098c99d00&amp;#93;&lt;/span&gt; nrs_policy_stop0 at ffffffffa13933cf &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
   #9 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff880098c99d20&amp;#93;&lt;/span&gt; nrs_policy_stop_primary at ffffffffa1393938 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
  #10 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff880098c99d40&amp;#93;&lt;/span&gt; nrs_policy_start_locked at ffffffffa13940e0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
  #11 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff880098c99d90&amp;#93;&lt;/span&gt; nrs_policy_ctl at ffffffffa139452c &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
  #12 &lt;span class=&quot;error&quot;&gt;&amp;#91;ffff880098c99de0&amp;#93;&lt;/span&gt; ptlrpc_nrs_policy_control at ffffffffa1396092 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
  &lt;span class=&quot;error&quot;&gt;&amp;#91;...&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="31896">LU-7096</key>
            <summary>Unprotected critical section in nrs_policy_stop</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="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="hdoreau">Henri Doreau</reporter>
                        <labels>
                            <label>cea</label>
                            <label>patch</label>
                    </labels>
                <created>Thu, 3 Sep 2015 11:37:46 +0000</created>
                <updated>Tue, 26 Jul 2016 07:20:10 +0000</updated>
                            <resolved>Sat, 19 Sep 2015 05:32:03 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="126149" author="gerrit" created="Thu, 3 Sep 2015 11:47:22 +0000"  >&lt;p&gt;Henri Doreau (henri.doreau@cea.fr) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/16214&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16214&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7096&quot; title=&quot;Unprotected critical section in nrs_policy_stop&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7096&quot;&gt;&lt;del&gt;LU-7096&lt;/del&gt;&lt;/a&gt; nrs: serialize executions of nrs_policy_stop&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 775d8e55928f74ac7dc2bd90a0f82bf2a3b6ca6d&lt;/p&gt;</comment>
                            <comment id="126207" author="pjones" created="Thu, 3 Sep 2015 17:28:40 +0000"  >&lt;p&gt;Emoly&lt;/p&gt;

&lt;p&gt;Could you please take care of this patch?&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="127888" author="gerrit" created="Sat, 19 Sep 2015 03:37:43 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/16214/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16214/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7096&quot; title=&quot;Unprotected critical section in nrs_policy_stop&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7096&quot;&gt;&lt;del&gt;LU-7096&lt;/del&gt;&lt;/a&gt; nrs: serialize executions of nrs_policy_stop&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 654bbf7fcc7a4c83d41e70d728e971eaed7994fe&lt;/p&gt;</comment>
                            <comment id="127896" author="pjones" created="Sat, 19 Sep 2015 05:32:03 +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="31827">LU-7072</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|hzxmc7:</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>