<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:22:29 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-2115] ldlm_bl_xx thread hangs under high memory pressure </title>
                <link>https://jira.whamcloud.com/browse/LU-2115</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;since the time after cheking the patch of Bugzilla 24320(&lt;a href=&quot;https://bugzilla.lustre.org/show_bug.cgi?id=24320&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugzilla.lustre.org/show_bug.cgi?id=24320&lt;/a&gt;), I&apos;ve started to doubt if the patch is enough.&lt;/p&gt;

&lt;p&gt;it&apos;s because, let&apos;s say, all ldlm_bl_xx threads tried to create new threads and failed to do it due to lack of memory. Then next, all ldlm_bl_xx threads will cal try_to_free_pages via the kmalloc, which has failed to allocate slab memory, and finally try_to_free_pages will call _&lt;em&gt;ldlm_bl_to_thread with LDLM_SYNC via shrink_slab(). so, this case can end up in dead-lock situation, all ldlm_bl_xx thread awaits returning of&lt;/em&gt;_ldlm_bl_to_threads but thre is no more ldlm_bl_xx thread to handle blocking requests.&lt;/p&gt;

&lt;p&gt;So I think we&apos;d better add set/clear PF_MEMALLOC into before/after cfs_kernel_thread/cfs_create_thread to prevent ldlm_bl_xxx threads from calling __ldlm_bl_to_thread().&lt;/p&gt;</description>
                <environment>it has happened with FEFS, based on Lustre-1.8.5 in RIKEN K computer environmentI&lt;br/&gt;
MDSx1, OSSx2592, OSTx5184, Clientx84672 </environment>
        <key id="16285">LU-2115</key>
            <summary>ldlm_bl_xx thread hangs under high memory pressure </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="5">Cannot Reproduce</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="nozaki">Hiroya Nozaki</reporter>
                        <labels>
                    </labels>
                <created>Tue, 9 Oct 2012 01:41:11 +0000</created>
                <updated>Thu, 9 Jan 2020 06:14:34 +0000</updated>
                            <resolved>Thu, 9 Jan 2020 06:14:34 +0000</resolved>
                                    <version>Lustre 2.1.0</version>
                    <version>Lustre 1.8.8</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="46355" author="nozaki" created="Wed, 10 Oct 2012 22:09:43 +0000"  >&lt;p&gt;I know you all are really busy, but could someone check whether or not this is true ?&lt;br/&gt;
I know ldlm_bl_work item has the variable blwi_mem_pressure, but I think when every ldlm_bl_xx thread pick up blwi and fail to create a new thread at a time, that variable won&apos;t work.&lt;/p&gt;</comment>
                            <comment id="260822" author="adilger" created="Thu, 9 Jan 2020 06:14:34 +0000"  >&lt;p&gt;Close old ticket.&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|hzv9q7:</customfieldvalue>

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