<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:18:02 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-8492] ptlrpc: Correctly calculate hrp-&gt;hrp_nthrs</title>
                <link>https://jira.whamcloud.com/browse/LU-8492</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This ticket separates out patch &lt;a href=&quot;http://review.whamcloud.com/#/c/19106/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/19106/&lt;/a&gt; from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6285&quot; title=&quot;Assert fails in staging client module crashes kernel if CPUMASK_OFFSTACK set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6285&quot;&gt;&lt;del&gt;LU-6285&lt;/del&gt;&lt;/a&gt; was already resolved when the new issue was identified (as noted in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6285&quot; title=&quot;Assert fails in staging client module crashes kernel if CPUMASK_OFFSTACK set&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6285&quot;&gt;&lt;del&gt;LU-6285&lt;/del&gt;&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;It addresses the following:&lt;/p&gt;


&lt;p&gt;There is still an issue which could cause the assert.&lt;/p&gt;

&lt;p&gt;cpu_pattern can sepcify exactly 1 cpu in a partition:&lt;br/&gt;
&quot;0&lt;span class=&quot;error&quot;&gt;&amp;#91;0&amp;#93;&lt;/span&gt;&quot;. That means CPT0 will have CPU 0.  CPU 0 can have&lt;br/&gt;
hyperthreading enabled. This combination would result in&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;weight = cfs_cpu_ht_nsiblings(0);
hrp-&amp;gt;hrp_nthrs = cfs_cpt_weight(ptlrpc_hr.hr_cpt_table, i);
hrp-&amp;gt;hrp_nthrs /= weight;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;evaluating to 0. Where&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;cfs_cpt_weight(ptlrpc_hr.hr_cpt_table, i) == 1
weight == 2
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Therefore only divide out with weight if&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;hrp-&amp;gt;hrp_nthrs &amp;gt;= weight
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This will avoid the assert:&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;LASSERT(hrp-&amp;gt;hrp_nthrs &amp;gt; 0);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="38754">LU-8492</key>
            <summary>ptlrpc: Correctly calculate hrp-&gt;hrp_nthrs</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="ashehata">Amir Shehata</assignee>
                                    <reporter username="jgmitter">Joseph Gmitter</reporter>
                        <labels>
                    </labels>
                <created>Wed, 10 Aug 2016 13:56:07 +0000</created>
                <updated>Sun, 30 Jan 2022 09:57:56 +0000</updated>
                            <resolved>Tue, 25 Oct 2016 04:12:27 +0000</resolved>
                                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="161402" author="jgmitter" created="Wed, 10 Aug 2016 13:57:29 +0000"  >&lt;p&gt;Patch is &lt;a href=&quot;http://review.whamcloud.com/#/c/19106/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/19106/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="170589" author="gerrit" created="Fri, 21 Oct 2016 15:00:48 +0000"  >&lt;p&gt;remove incorrect comment&lt;/p&gt;</comment>
                            <comment id="170599" author="doug" created="Fri, 21 Oct 2016 15:50:21 +0000"  >&lt;p&gt;Dmitry: does your new patch replace &lt;a href=&quot;http://review.whamcloud.com/#/c/19106/?&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/19106/?&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="170605" author="dmiter" created="Fri, 21 Oct 2016 16:17:38 +0000"  >&lt;p&gt;My patch &lt;a href=&quot;http://review.whamcloud.com/23222&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/23222&lt;/a&gt; contain this  &lt;a href=&quot;http://review.whamcloud.com/19106&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19106&lt;/a&gt; patch.&lt;/p&gt;</comment>
                            <comment id="170869" author="gerrit" created="Tue, 25 Oct 2016 02:23:36 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/19106/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19106/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8492&quot; title=&quot;ptlrpc: Correctly calculate hrp-&amp;gt;hrp_nthrs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8492&quot;&gt;&lt;del&gt;LU-8492&lt;/del&gt;&lt;/a&gt; ptlrpc: Correctly calculate hrp-&amp;gt;hrp_nthrs&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 402825050f95fff80a021e6eb04aa49a210648c9&lt;/p&gt;</comment>
                            <comment id="170897" author="pjones" created="Tue, 25 Oct 2016 04:12:28 +0000"  >&lt;p&gt;Landed for 2.9&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="28849">LU-6285</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="38507">LU-8451</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|hzykav:</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>