<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:52:26 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-5548] avoid list scan in ptlrpcd_check</title>
                <link>https://jira.whamcloud.com/browse/LU-5548</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;ptlrpcd_check() always scan all requests on ptlrpc_request_set::set_requests and try to finish completed requests, this is low efficiency. Even worse, l_wait_event() always checks condition for twice before sleeping and one more time after waking up, which means it will call ptlrpcd_check() for three times in each loop.&lt;/p&gt;

&lt;p&gt;The solution is quite simple, ptlrpc_check_set() can move completed requests at head of ptlrpc_request_set::set_requests, so ptlrpcd_check doesn&apos;t need to scan all requests on a rqset anymore.&lt;/p&gt;

&lt;p&gt;This is an improvement for &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5053&quot; title=&quot;soft lockup in ptlrpcd on client&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5053&quot;&gt;&lt;del&gt;LU-5053&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="26190">LU-5548</key>
            <summary>avoid list scan in ptlrpcd_check</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="liang">Liang Zhen</assignee>
                                    <reporter username="liang">Liang Zhen</reporter>
                        <labels>
                    </labels>
                <created>Wed, 27 Aug 2014 03:03:11 +0000</created>
                <updated>Mon, 27 Apr 2015 20:52:12 +0000</updated>
                            <resolved>Wed, 3 Sep 2014 01:12:21 +0000</resolved>
                                                    <fixVersion>Lustre 2.7.0</fixVersion>
                    <fixVersion>Lustre 2.5.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="92566" author="liang" created="Wed, 27 Aug 2014 03:04:45 +0000"  >&lt;p&gt;Patch is here: &lt;a href=&quot;http://review.whamcloud.com/#/c/11513/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/11513/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="93072" author="liang" created="Wed, 3 Sep 2014 01:12:21 +0000"  >&lt;p&gt;patch landed&lt;/p&gt;</comment>
                            <comment id="100270" author="gerrit" created="Mon, 1 Dec 2014 04:21:04 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/12265/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12265/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5548&quot; title=&quot;avoid list scan in ptlrpcd_check&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5548&quot;&gt;&lt;del&gt;LU-5548&lt;/del&gt;&lt;/a&gt; ptlrpc: avoid list scan in ptlrpcd_check&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_5&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f3c91d57afb631d9d008710b4d144734bfe97a4f&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|hzwupj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>15470</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>