<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:29:36 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-16741] defer &amp; parallelize parts of ptlrpc_free_committed</title>
                <link>https://jira.whamcloud.com/browse/LU-16741</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;ptlrpc_free_committed can be extremely time consuming if there are many async requests outstanding, such as with small async DIO as potentially created by &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13805&quot; title=&quot;i/o path: Unaligned direct i/o&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13805&quot;&gt;LU-13805&lt;/a&gt;, or in other unusual circumstances.&lt;/p&gt;

&lt;p&gt;The biggest problem is that we do all the work in a single threaded manner while holding the imp_lock.&#160; A recent patch ( &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/48629&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/48629&lt;/a&gt; ) changed it so the thread will release the lock and &apos;hand off&apos; to a waiter if it&apos;s running too long (and there is a waiter), but the process is still serial, so this avoids stalls, but there&apos;s no improvement in overall efficiency.&lt;/p&gt;

&lt;p&gt;Most of the work (in terms of time consumed) in ptlrpc_free_committed can be deferred and moved out from under the imp_lock.&#160; If we do this, we can also use our ability to know there is a waiter to &apos;batch&apos; sets of requests, where we find a certain number, then hand off to the waiter.&#160; This has the effect of parallelizing this work and should speed it up significantly.&lt;/p&gt;</description>
                <environment></environment>
        <key id="75587">LU-16741</key>
            <summary>defer &amp; parallelize parts of ptlrpc_free_committed</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="paf0186">Patrick Farrell</assignee>
                                    <reporter username="paf0186">Patrick Farrell</reporter>
                        <labels>
                    </labels>
                <created>Sat, 15 Apr 2023 22:22:06 +0000</created>
                <updated>Thu, 11 Jan 2024 11:03:04 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="369586" author="gerrit" created="Sat, 15 Apr 2023 22:24:44 +0000"  >&lt;p&gt;&quot;Patrick Farrell &amp;lt;pfarrell@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50645&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50645&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16741&quot; title=&quot;defer &amp;amp; parallelize parts of ptlrpc_free_committed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16741&quot;&gt;LU-16741&lt;/a&gt; ptlrpc: defer &amp;amp; parallelize free_committed&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0428f2ccc7653c4d07183719c2b13826a8154bed&lt;/p&gt;</comment>
                            <comment id="369776" author="gerrit" created="Tue, 18 Apr 2023 14:41:15 +0000"  >&lt;p&gt;&quot;Patrick Farrell &amp;lt;pfarrell@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50677&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50677&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16741&quot; title=&quot;defer &amp;amp; parallelize parts of ptlrpc_free_committed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16741&quot;&gt;LU-16741&lt;/a&gt; ptlrpc: rename ptlrpc_req_finished&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 5d918d81eeddb1b8f6513bed6703bf5ab50d4f71&lt;/p&gt;</comment>
                            <comment id="369777" author="gerrit" created="Tue, 18 Apr 2023 14:41:16 +0000"  >&lt;p&gt;&quot;Patrick Farrell &amp;lt;pfarrell@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50678&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50678&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16741&quot; title=&quot;defer &amp;amp; parallelize parts of ptlrpc_free_committed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16741&quot;&gt;LU-16741&lt;/a&gt; ptlrpc: refactor __ptlrpc_req_put&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f4458ce35e8762ab6c0361bb1af57564a108dec4&lt;/p&gt;</comment>
                            <comment id="369779" author="gerrit" created="Tue, 18 Apr 2023 15:00:49 +0000"  >&lt;p&gt;&quot;Patrick Farrell &amp;lt;pfarrell@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50679&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50679&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16741&quot; title=&quot;defer &amp;amp; parallelize parts of ptlrpc_free_committed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16741&quot;&gt;LU-16741&lt;/a&gt; ptlrpc: rename __ functions&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f632118835661d46f5cc399f4e4dbbe0d48edc33&lt;/p&gt;</comment>
                            <comment id="369784" author="gerrit" created="Tue, 18 Apr 2023 15:22:24 +0000"  >&lt;p&gt;&quot;Patrick Farrell &amp;lt;pfarrell@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50680&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50680&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16741&quot; title=&quot;defer &amp;amp; parallelize parts of ptlrpc_free_committed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16741&quot;&gt;LU-16741&lt;/a&gt; ptlrpc: rename ptlrpc_free_request&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: faf9bb4fb7006e71f13702fe2a6987d6de29b374&lt;/p&gt;</comment>
                            <comment id="369786" author="gerrit" created="Tue, 18 Apr 2023 15:27:08 +0000"  >&lt;p&gt;&quot;Patrick Farrell &amp;lt;pfarrell@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50681&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50681&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16741&quot; title=&quot;defer &amp;amp; parallelize parts of ptlrpc_free_committed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16741&quot;&gt;LU-16741&lt;/a&gt; ptlrpc: remove unnecessary asserts&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 5e721beefb0178f68bc6e79fb2e965e657563c8a&lt;/p&gt;</comment>
                            <comment id="369933" author="gerrit" created="Wed, 19 Apr 2023 16:52:47 +0000"  >&lt;p&gt;&quot;Patrick Farrell &amp;lt;pfarrell@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50691&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50691&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16741&quot; title=&quot;defer &amp;amp; parallelize parts of ptlrpc_free_committed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16741&quot;&gt;LU-16741&lt;/a&gt; tests: Test locking around deferred work&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 08467d0b677c54bc81e5499161a4d33e99c03550&lt;/p&gt;</comment>
                            <comment id="369934" author="gerrit" created="Wed, 19 Apr 2023 16:54:09 +0000"  >&lt;p&gt;&quot;Patrick Farrell &amp;lt;pfarrell@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50692&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50692&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16741&quot; title=&quot;defer &amp;amp; parallelize parts of ptlrpc_free_committed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16741&quot;&gt;LU-16741&lt;/a&gt; tests: Test to confirm replay-dual hits&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 531c7a3b0a5fdb9214c236c3ce5dc74ea2c0b552&lt;/p&gt;</comment>
                            <comment id="369935" author="gerrit" created="Wed, 19 Apr 2023 17:01:16 +0000"  >&lt;p&gt;&quot;Patrick Farrell &amp;lt;pfarrell@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50693&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50693&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16741&quot; title=&quot;defer &amp;amp; parallelize parts of ptlrpc_free_committed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16741&quot;&gt;LU-16741&lt;/a&gt; tests: Test locking around commit_cb&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 30332de6d9c4daeaa21c55a158c0b1fce0bfd27f&lt;/p&gt;</comment>
                            <comment id="369939" author="gerrit" created="Wed, 19 Apr 2023 17:17:44 +0000"  >&lt;p&gt;&quot;Patrick Farrell &amp;lt;pfarrell@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50694&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50694&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16741&quot; title=&quot;defer &amp;amp; parallelize parts of ptlrpc_free_committed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16741&quot;&gt;LU-16741&lt;/a&gt; ptlrpc: add &apos;locked&apos; to rq_commit_cb&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: c45eadc0856af236200f54c2180112364a40023e&lt;/p&gt;</comment>
                            <comment id="369943" author="gerrit" created="Wed, 19 Apr 2023 17:26:37 +0000"  >&lt;p&gt;&quot;Patrick Farrell &amp;lt;pfarrell@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50695&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50695&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16741&quot; title=&quot;defer &amp;amp; parallelize parts of ptlrpc_free_committed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16741&quot;&gt;LU-16741&lt;/a&gt; ptlrpc: check logic in osp_request_commit_cb&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: d0bf7f11ddb5d5a93bb753f3369c5b8a9602fac8&lt;/p&gt;</comment>
                            <comment id="399261" author="gerrit" created="Thu, 11 Jan 2024 11:03:04 +0000"  >&lt;p&gt;&quot;Arshad Hussain &amp;lt;arshad.hussain@aeoncomputing.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/53648&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/53648&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16741&quot; title=&quot;defer &amp;amp; parallelize parts of ptlrpc_free_committed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16741&quot;&gt;LU-16741&lt;/a&gt; ptlrpc: ptlrpc: rename ptlrpc_req_finished&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 1dda91562cfebbc91785258205e5cc1af88ef49d&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|i03j07:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>