<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:16:24 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-8307] Add cond_resched between work items in ldlm_bl_thread_main</title>
                <link>https://jira.whamcloud.com/browse/LU-8307</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When clearing all of the ldlm LRUs (as Cray does at the end of&lt;br/&gt;
a job), a ldlm_bl_work_item is generated for each namespace&lt;br/&gt;
and then they are placed on a list for the ldlm_bl threads to&lt;br/&gt;
iterate over.&lt;/p&gt;

&lt;p&gt;If the number of namespaces greatly exceeds the number of&lt;br/&gt;
ldlm_bl threads, a given thread will iterate over many&lt;br/&gt;
namespaces without sleeping looking for work.  This can go&lt;br/&gt;
on for an extremely long time and result in an RCU stall.&lt;/p&gt;

&lt;p&gt;This patch adds a cond_resched() between completing one&lt;br/&gt;
work item and looking for the next.  This is a fairly cheap&lt;br/&gt;
operation, as it will only schedule if there is an&lt;br/&gt;
interrupt waiting, and it will not be called too much -&lt;br/&gt;
Even the largest file systems have &amp;lt; 100 namespaces per&lt;br/&gt;
ldlm_bl_thread currently.&lt;/p&gt;</description>
                <environment></environment>
        <key id="37684">LU-8307</key>
            <summary>Add cond_resched between work items in ldlm_bl_thread_main</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="wc-triage">WC Triage</assignee>
                                    <reporter username="paf">Patrick Farrell</reporter>
                        <labels>
                    </labels>
                <created>Mon, 20 Jun 2016 21:14:01 +0000</created>
                <updated>Tue, 9 May 2017 04:11:25 +0000</updated>
                            <resolved>Tue, 9 May 2017 04:11:25 +0000</resolved>
                                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="156275" author="gerrit" created="Mon, 20 Jun 2016 21:17:03 +0000"  >&lt;p&gt;Patrick Farrell (paf@cray.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/20888&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/20888&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8307&quot; title=&quot;Add cond_resched between work items in ldlm_bl_thread_main&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8307&quot;&gt;&lt;del&gt;LU-8307&lt;/del&gt;&lt;/a&gt; ldlm: cond_resched in ldlm_bl_thread_main&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 6e0acb78abd0a9fd29f4a46e9071e05f44aba823&lt;/p&gt;</comment>
                            <comment id="195004" author="gerrit" created="Tue, 9 May 2017 03:44:10 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/20888/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/20888/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8307&quot; title=&quot;Add cond_resched between work items in ldlm_bl_thread_main&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8307&quot;&gt;&lt;del&gt;LU-8307&lt;/del&gt;&lt;/a&gt; ldlm: cond_resched in ldlm_bl_thread_main&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: c156613b29be6fcee13d0df7008f0cd7847a5263&lt;/p&gt;</comment>
                            <comment id="195034" author="pjones" created="Tue, 9 May 2017 04:11:25 +0000"  >&lt;p&gt;Landed for 2.10&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_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzyf3j:</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>