<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:21:35 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-15821] Server driven blocking callbacks can wait behind general lru_size management</title>
                <link>https://jira.whamcloud.com/browse/LU-15821</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The current code places bl_ast lock callbacks at the end of the global BL callback queue. &#160;This is bad because it causes urgent requests from the server to wait behind non-urgent cleanup tasks to keep lru_size at the right level.&lt;/p&gt;

&lt;p&gt;This can lead to evictions if there is a large queue of items in the global queue so the callback is not serviced in a timely manner.&lt;/p&gt;

&lt;p&gt;Put bl_ast callbacks on the priority queue so they do not wait behind the background traffic.&lt;/p&gt;</description>
                <environment></environment>
        <key id="70152">LU-15821</key>
            <summary>Server driven blocking callbacks can wait behind general lru_size management</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="paf0186">Patrick Farrell</assignee>
                                    <reporter username="paf0186">Patrick Farrell</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 May 2022 00:55:11 +0000</created>
                <updated>Wed, 2 Aug 2023 12:49:40 +0000</updated>
                            <resolved>Wed, 3 Aug 2022 13:25:57 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                    <fixVersion>Lustre 2.15.4</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="333832" author="gerrit" created="Thu, 5 May 2022 00:57:51 +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/47215&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47215&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15821&quot; title=&quot;Server driven blocking callbacks can wait behind general lru_size management&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15821&quot;&gt;&lt;del&gt;LU-15821&lt;/del&gt;&lt;/a&gt; ldlm: Prioritize blocking callbacks&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 65a5b8d27e6d6a0acf8bc87458b8837509e60b23&lt;/p&gt;</comment>
                            <comment id="342357" author="gerrit" created="Wed, 3 Aug 2022 04:07:15 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/47215/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47215/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15821&quot; title=&quot;Server driven blocking callbacks can wait behind general lru_size management&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15821&quot;&gt;&lt;del&gt;LU-15821&lt;/del&gt;&lt;/a&gt; ldlm: Prioritize blocking callbacks&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 2d59294d52b696125acc464e5910c893d9aef237&lt;/p&gt;</comment>
                            <comment id="342399" author="pjones" created="Wed, 3 Aug 2022 13:25:57 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                            <comment id="342612" author="gerrit" created="Thu, 4 Aug 2022 19:07:57 +0000"  >&lt;p&gt;&lt;del&gt;&quot;Patrick Farrell &amp;lt;pfarrell@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/48122&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48122&lt;/a&gt;&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15821&quot; title=&quot;Server driven blocking callbacks can wait behind general lru_size management&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15821&quot;&gt;&lt;del&gt;LU-15821&lt;/del&gt;&lt;/a&gt; ldlm: Fix unsafe blwi access&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Project: fs/lustre-release&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Branch: master&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Current Patch Set: 1&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Commit: 97326667eb8f960fa2996099a6bd2b96496d026e&lt;/del&gt;&lt;br/&gt;
(Patch not needed)&lt;/p&gt;</comment>
                            <comment id="348731" author="gerrit" created="Wed, 5 Oct 2022 03:09:18 +0000"  >&lt;p&gt;&quot;Andreas Dilger &amp;lt;adilger@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/48764&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/48764&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15821&quot; title=&quot;Server driven blocking callbacks can wait behind general lru_size management&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15821&quot;&gt;&lt;del&gt;LU-15821&lt;/del&gt;&lt;/a&gt; ldlm: Prioritize blocking callbacks&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 74666c9fff24126922e5635fbaf2394bf7eda118&lt;/p&gt;</comment>
                            <comment id="358726" author="sthiell" created="Thu, 12 Jan 2023 02:04:33 +0000"  >&lt;p&gt;It would be nice to have this patch backported to 2.15.x, we have been running it for a while on 2.15.1 clients with good results.&lt;/p&gt;</comment>
                            <comment id="358738" author="gerrit" created="Thu, 12 Jan 2023 04:10:54 +0000"  >&lt;p&gt;&quot;Andreas Dilger &amp;lt;adilger@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/49610&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/49610&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15821&quot; title=&quot;Server driven blocking callbacks can wait behind general lru_size management&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15821&quot;&gt;&lt;del&gt;LU-15821&lt;/del&gt;&lt;/a&gt; ldlm: Prioritize blocking callbacks&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b3e9e0eeadd783d22065871df28ea32f2d3c6934&lt;/p&gt;</comment>
                            <comment id="358740" author="adilger" created="Thu, 12 Jan 2023 04:22:26 +0000"  >&lt;blockquote&gt;
&lt;p&gt; we have been running it for a while on 2.15.1 clients with good results.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Stephane, by &quot;good results&quot; do you mean &quot;it doesn&apos;t cause problems&quot; or &quot;it visibly improved/removed some problem that you were seeing with client evictions&quot;?  In the use case that drove the initial development of this patch it didn&apos;t totally solve the issue.  Yang Sheng also just developed patch &lt;a href=&quot;https://review.whamcloud.com/49527&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/49527&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16285&quot; title=&quot;Prolong the lock BL timeout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16285&quot;&gt;&lt;del&gt;LU-16285&lt;/del&gt;&lt;/a&gt; ldlm: improvement of bl lock queue&lt;/tt&gt;&quot; to further improve the handling of highly-contended DLM locks.&lt;/p&gt;</comment>
                            <comment id="358903" author="sthiell" created="Fri, 13 Jan 2023 06:33:36 +0000"  >&lt;p&gt;Andreas, since we have applied this patch, last October 2022, we have not seen again the following problems from two workloads that were previously causing trouble:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;GNU parallel with --tmpdir&lt;/li&gt;
	&lt;li&gt;sort with --temporary-directory&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;In both use cases, files are created in temporary directory and are used unlinked, not visible in the directory but actually still open, this may have triggered some sort of contention in Lustre leading to evictions.&lt;/p&gt;

&lt;p&gt;But at the same time, we have also tried to redirect our users to local scratch filesystems to avoid further issues, as a parallel filesystem was not really needed. So I can&apos;t tell you for sure that this patch resolves these issues, but at least it didn&apos;t introduce anything bad and we would like to keep it for now. It would be convenient for us if it was added to 2.15, but otherwise, I will just continue to backport it. I hope that the context helps a bit.&lt;/p&gt;

&lt;p&gt;Thanks also for the pointer to the other patch from Yang Sheng.&lt;/p&gt;</comment>
                            <comment id="381011" author="gerrit" created="Wed, 2 Aug 2023 06:15:56 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/49610/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/49610/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15821&quot; title=&quot;Server driven blocking callbacks can wait behind general lru_size management&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15821&quot;&gt;&lt;del&gt;LU-15821&lt;/del&gt;&lt;/a&gt; ldlm: Prioritize blocking callbacks&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8ca1186151faa778edd5abd361e92fcd5d8ff56b&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="73044">LU-16285</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="70153">LU-15822</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="70643">LU-15915</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|i02p1j:</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>