<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:51:41 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-5461] mdt_readpage returning - ENOMEM causes directory to be unreadable </title>
                <link>https://jira.whamcloud.com/browse/LU-5461</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;While testing HSM copytool in a single VM with 512MB memory, I saw page allocation errors in mdt_readpage, and subsequent IO errors on the client when trying to read that directory again. It appears the client is caching the error page, and not allowing the ll_get_dir_page() try to fetch it again.  Here are the errors on the client side:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;LustreError: 18907:0:(dir.c:422:ll_get_dir_page()) read cache page: [0x200000402:0x27a:0x0] at 0: rc -12
LustreError: 18907:0:(dir.c:584:ll_dir_read()) error reading dir [0x200000402:0x27a:0x0] at 0: rc -12
LustreError: 18912:0:(dir.c:398:ll_get_dir_page()) dir page locate: [0x200000402:0x27a:0x0] at 0: rc -5
LustreError: 18912:0:(dir.c:584:ll_dir_read()) error reading dir [0x200000402:0x27a:0x0] at 0: rc -5
LustreError: 7358:0:(dir.c:398:ll_get_dir_page()) dir page locate: [0x200000402:0x27a:0x0] at 0: rc -5
LustreError: 7358:0:(dir.c:584:ll_dir_read()) error reading dir [0x200000402:0x27a:0x0] at 0: rc -5
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;And this is the allocation failure on the MDT:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;mdt_rdpg00_001: page allocation failure. order:0, mode:0xc0
Pid: 4794, comm: mdt_rdpg00_001 Not tainted 2.6.32-431.17.1.el6_lustre.x86_64 #1
Call Trace:
[&amp;lt;ffffffff8112f64a&amp;gt;] ? __alloc_pages_nodemask+0x74a/0x8d0
[&amp;lt;ffffffffa0653d10&amp;gt;] ? lustre_swab_mdt_body+0x0/0x140 [ptlrpc]
[&amp;lt;ffffffff8116769a&amp;gt;] ? alloc_pages_current+0xaa/0x110
[&amp;lt;ffffffffa0c9f3c0&amp;gt;] ? mdt_readpage+0x1d0/0x940 [mdt]
[&amp;lt;ffffffffa0c8f58a&amp;gt;] ? mdt_handle_common+0x52a/0x1470 [mdt]
[&amp;lt;ffffffffa0ccb735&amp;gt;] ? mds_readpage_handle+0x15/0x20 [mdt]
[&amp;lt;ffffffffa0660bc5&amp;gt;] ? ptlrpc_server_handle_request+0x385/0xc00 [ptlrpc]
[&amp;lt;ffffffffa03713cf&amp;gt;] ? lc_watchdog_touch+0x6f/0x170 [libcfs]
[&amp;lt;ffffffffa06582a9&amp;gt;] ? ptlrpc_wait_event+0xa9/0x2d0 [ptlrpc]
[&amp;lt;ffffffffa0661f2d&amp;gt;] ? ptlrpc_main+0xaed/0x1740 [ptlrpc]
[&amp;lt;ffffffffa0661440&amp;gt;] ? ptlrpc_main+0x0/0x1740 [ptlrpc]
[&amp;lt;ffffffff8109ab56&amp;gt;] ? kthread+0x96/0xa0
[&amp;lt;ffffffff8100c20a&amp;gt;] ? child_rip+0xa/0x20
[&amp;lt;ffffffff8109aac0&amp;gt;] ? kthread+0x0/0xa0
[&amp;lt;ffffffff8100c200&amp;gt;] ? child_rip+0x0/0x20
Mem-Info:
Node 0 DMA per-cpu:
CPU    0: hi:    0, btch:   1 usd:   0
Node 0 DMA32 per-cpu:
CPU    0: hi:  186, btch:  31 usd:  72
active_anon:9625 inactive_anon:10498 isolated_anon:0
active_file:24454 inactive_file:28863 isolated_file:0
unevictable:0 dirty:4370 writeback:0 unstable:0
free:1018 slab_reclaimable:5718 slab_unreclaimable:18294
mapped:2472 shmem:132 pagetables:1268 bounce:0
Node 0 DMA free:2020kB min:84kB low:104kB high:124kB active_anon:464kB inactive_anon:2924kB active_file:1412kB inactive_file:7108kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15368kB mlocked:0kB dirty:408kB writeback:0kB mapped:268kB shmem:308kB slab_reclaimable:264kB slab_unreclaimable:632kB kernel_stack:40kB pagetables:704kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 489 489 489
Node 0 DMA32 free:2052kB min:2784kB low:3480kB high:4176kB active_anon:38036kB inactive_anon:39068kB active_file:96404kB inactive_file:108344kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:500896kB mlocked:0kB dirty:17072kB writeback:0kB mapped:9620kB shmem:220kB slab_reclaimable:22608kB slab_unreclaimable:72544kB kernel_stack:1608kB pagetables:4368kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:64 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
Node 0 DMA: 1*4kB 0*8kB 0*16kB 1*32kB 1*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 2020kB
Node 0 DMA32: 183*4kB 5*8kB 4*16kB 2*32kB 2*64kB 0*128kB 2*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 2052kB
53571 total pagecache pages
112 pages in swap cache
Swap cache stats: add 245, delete 133, find 25/32
Free swap  = 834836kB
Total swap = 835576kB
131055 pages RAM
5534 pages reserved
66002 pages shared
75464 pages non-shared
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="25913">LU-5461</key>
            <summary>mdt_readpage returning - ENOMEM causes directory to be unreadable </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="laisiyao">Lai Siyao</assignee>
                                    <reporter username="rread">Robert Read</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Aug 2014 18:27:35 +0000</created>
                <updated>Thu, 30 Mar 2017 18:41:50 +0000</updated>
                            <resolved>Tue, 23 Dec 2014 09:12:06 +0000</resolved>
                                    <version>Lustre 2.5.2</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="91307" author="jlevi" created="Mon, 11 Aug 2014 17:22:35 +0000"  >&lt;p&gt;Lai,&lt;br/&gt;
Can you comment on this one and let us know the priority with regards to 2.7?&lt;br/&gt;
Thank you!&lt;/p&gt;</comment>
                            <comment id="91603" author="laisiyao" created="Thu, 14 Aug 2014 13:27:34 +0000"  >&lt;p&gt;Patch is on &lt;a href=&quot;http://review.whamcloud.com/#/c/11450/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/11450/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="101838" author="gerrit" created="Wed, 17 Dec 2014 18:06:43 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/11450/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/11450/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5461&quot; title=&quot;mdt_readpage returning - ENOMEM causes directory to be unreadable &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5461&quot;&gt;&lt;del&gt;LU-5461&lt;/del&gt;&lt;/a&gt; mdc: don&apos;t add to page cache upon failure&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 2e1472489481ddef9956db8008d63a78c7c84289&lt;/p&gt;</comment>
                            <comment id="102236" author="laisiyao" created="Tue, 23 Dec 2014 09:12:06 +0000"  >&lt;p&gt;patch landed to master.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </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|hzwt6n:</customfieldvalue>

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