<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:40:11 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-4157] Removing files hangs with 100%CPU on 3.12-rc7 client</title>
                <link>https://jira.whamcloud.com/browse/LU-4157</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Deleting files with the in-kernel client (3.12-rc7) is impossible. The rm command gets stuck at 100%CPU and is unkillable with an example call trace like the following:&lt;/p&gt;

&lt;p&gt;Oct 23 15:49:05 beo-05 kernel: [ 1361.539903]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff815020ff&amp;gt;&amp;#93;&lt;/span&gt; ? __schedule+0x2ff/0x8d0&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.539907]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff812567c4&amp;gt;&amp;#93;&lt;/span&gt; ? radix_tree_next_chunk+0x1a4/0x210&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.539911]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff810d665a&amp;gt;&amp;#93;&lt;/span&gt; ? find_get_pages+0xca/0x150&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.539914]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff810d666a&amp;gt;&amp;#93;&lt;/span&gt; ? find_get_pages+0xda/0x150&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.539917]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff810e042d&amp;gt;&amp;#93;&lt;/span&gt; ? pagevec_lookup+0x1d/0x30&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.539921]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff810e20f1&amp;gt;&amp;#93;&lt;/span&gt; ? truncate_inode_pages_range.part.11+0xa1/0x630&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.539925]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa09376e5&amp;gt;&amp;#93;&lt;/span&gt; ? lmv_lock_match+0xf5/0x2d0 &lt;span class=&quot;error&quot;&gt;&amp;#91;lmv&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.539933]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa087dffb&amp;gt;&amp;#93;&lt;/span&gt; ? ll_have_md_lock+0x14b/0x3e0 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.539936]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff810e26c1&amp;gt;&amp;#93;&lt;/span&gt; ? truncate_inode_pages_range+0x41/0x50&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.539939]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff810e2750&amp;gt;&amp;#93;&lt;/span&gt; ? truncate_inode_pages+0x10/0x20&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.539947]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa089d4c7&amp;gt;&amp;#93;&lt;/span&gt; ? ll_md_blocking_ast+0x447/0x650 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.539951]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8120314c&amp;gt;&amp;#93;&lt;/span&gt; ? fuse_request_send_nowait_locked+0x6c/0xd0&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.539960]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa05dd177&amp;gt;&amp;#93;&lt;/span&gt; ? ldlm_cancel_callback+0x67/0x190 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.539969]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa05e68aa&amp;gt;&amp;#93;&lt;/span&gt; ? ldlm_cli_cancel_local+0x7a/0x3c0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.539979]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa05e8fbd&amp;gt;&amp;#93;&lt;/span&gt; ? ldlm_cli_cancel_list_local+0xdd/0x240 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.539989]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa05e9295&amp;gt;&amp;#93;&lt;/span&gt; ? ldlm_cancel_resource_local+0x175/0x1e0 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.539995]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa07806d7&amp;gt;&amp;#93;&lt;/span&gt; ? mdc_resource_get_unused+0xd7/0x170 &lt;span class=&quot;error&quot;&gt;&amp;#91;mdc&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.539998]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff810d60c8&amp;gt;&amp;#93;&lt;/span&gt; ? filemap_fault+0x88/0x550&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.540003]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa078170d&amp;gt;&amp;#93;&lt;/span&gt; ? mdc_unlink+0x9d/0x4d0 &lt;span class=&quot;error&quot;&gt;&amp;#91;mdc&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.540007]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0944fba&amp;gt;&amp;#93;&lt;/span&gt; ? lmv_unlink+0x1ba/0x500 &lt;span class=&quot;error&quot;&gt;&amp;#91;lmv&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.540015]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa08a2ff4&amp;gt;&amp;#93;&lt;/span&gt; ? ll_unlink+0x164/0x410 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.540018]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81144f1d&amp;gt;&amp;#93;&lt;/span&gt; ? vfs_unlink+0x8d/0x100&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.540022]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81145123&amp;gt;&amp;#93;&lt;/span&gt; ? do_unlinkat+0x193/0x230&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.540025]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81137ce4&amp;gt;&amp;#93;&lt;/span&gt; ? vfs_read+0x124/0x170&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.540029]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8114777d&amp;gt;&amp;#93;&lt;/span&gt; ? SyS_unlinkat+0x1d/0x40&lt;br/&gt;
Oct 23 15:49:05 beo-05 kernel: [ 1361.540032]  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8150a226&amp;gt;&amp;#93;&lt;/span&gt; ? system_call_fastpath+0x1a/0x1f&lt;/p&gt;</description>
                <environment>Vanilla kernel 3.12-rc7 client mounting a 2.4.1 ZFS server that works fine with a 2.4.1 client.</environment>
        <key id="21670">LU-4157</key>
            <summary>Removing files hangs with 100%CPU on 3.12-rc7 client</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="rfehren">Roland Fehrenbacher</reporter>
                        <labels>
                    </labels>
                <created>Mon, 28 Oct 2013 18:07:01 +0000</created>
                <updated>Fri, 27 Dec 2013 17:02:38 +0000</updated>
                            <resolved>Wed, 27 Nov 2013 19:02:54 +0000</resolved>
                                    <version>Lustre 2.4.1</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="70223" author="bergwolf" created="Wed, 30 Oct 2013 02:27:19 +0000"  >&lt;p&gt;It it the same hang I fixed before. The patch is queued by Greg KH in staging tree but not yet in Linus tree.&lt;/p&gt;

&lt;p&gt;The root cause is because of a generic layer change that makes truncate_inode_pages_range stop truncating the page at index ~0UL but Lustre always put the first page in a dir inode mapping at index ~0UL.&lt;/p&gt;

&lt;p&gt;See the patch for details &lt;a href=&quot;https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/commit/?h=staging-next&amp;amp;id=363090e74f3865c589f4026b40865596b0212f90&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/commit/?h=staging-next&amp;amp;id=363090e74f3865c589f4026b40865596b0212f90&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="70466" author="rfehren" created="Fri, 1 Nov 2013 08:48:42 +0000"  >&lt;p&gt;Thanks Peng. I applied the patch and it fixes the problem indeed. Would be great if it could move to 3.12 final (together with the patch in &lt;a href=&quot;https://jira.hpdd.intel.com/browse/LU-4127&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jira.hpdd.intel.com/browse/LU-4127&lt;/a&gt; maybe?).&lt;/p&gt;</comment>
                            <comment id="70467" author="bergwolf" created="Fri, 1 Nov 2013 09:22:35 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4127&quot; title=&quot;Loading fld module crashes kernel in mainline 3.12-rc.5&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4127&quot;&gt;&lt;del&gt;LU-4127&lt;/del&gt;&lt;/a&gt; was also fixed in upstream. See &lt;a href=&quot;https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/commit/?h=staging-next&amp;amp;id=86bac591def1a5b7060c0834828b1eaabfe7f0a7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/commit/?h=staging-next&amp;amp;id=86bac591def1a5b7060c0834828b1eaabfe7f0a7&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The two patches are both queue by Greg in his staging-next branch but I do not know when he will push them to Linus.&lt;/p&gt;</comment>
                            <comment id="70560" author="rfehren" created="Sat, 2 Nov 2013 09:10:36 +0000"  >&lt;p&gt;OK, thanks for letting me know. I assume this will go into a 3.12.x then. Without these patches, the lustre client is absolutely useless.&lt;/p&gt;</comment>
                            <comment id="72421" author="dmiter" created="Wed, 27 Nov 2013 19:02:54 +0000"  >&lt;p&gt;It&apos;s fixed in upstream.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="22582">LU-4416</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|hzw707:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>11279</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10023"><![CDATA[4]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>