<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:28: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-2820] Crash in lmv_readpage</title>
                <link>https://jira.whamcloud.com/browse/LU-2820</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Just had a dbench fail in lmv_readpage:&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;#0  lu_dirent_next (ent=0xffff880025404387)
    at /home/green/git/lustre-release/lustre/include/lustre/lustre_idl.h:957
#1  lmv_readpage (exp=&amp;lt;optimized out&amp;gt;, op_data=&amp;lt;optimized out&amp;gt;, 
    pages=&amp;lt;optimized out&amp;gt;, request=&amp;lt;optimized out&amp;gt;)
    at /home/green/git/lustre-release/lustre/lmv/lmv_obd.c:1955
#2  0xffffffffa0dd4bc0 in md_readpage (request=0xffff880055041ba0, 
    pages=0xffff88008e7d87f0, opdata=0xffff88003fb9edf0, exp=0xffff8800900b6bf0)
    at /home/green/git/lustre-release/lustre/include/obd_class.h:2052
#3  ll_dir_filler (_hash=&amp;lt;optimized out&amp;gt;, page0=0xffffea0000825f90)
    at /home/green/git/lustre-release/lustre/llite/dir.c:188
#4  0xffffffff811142db in __read_cache_page (gfp=&amp;lt;optimized out&amp;gt;, 
    data=&amp;lt;optimized out&amp;gt;, filler=&amp;lt;optimized out&amp;gt;, index=&amp;lt;optimized out&amp;gt;, 
    mapping=&amp;lt;optimized out&amp;gt;) at mm/filemap.c:1771
#5  do_read_cache_page (mapping=0xffff88005461bc70, index=18446744073709551615, 
    filler=0xffffffffa0dd4920 &amp;lt;ll_dir_filler&amp;gt;, data=0xffff880055041d60, 
    gfp=&amp;lt;optimized out&amp;gt;) at mm/filemap.c:1791
#6  0xffffffff8111443c in read_cache_page_async (mapping=&amp;lt;optimized out&amp;gt;, 
    index=&amp;lt;optimized out&amp;gt;, filler=&amp;lt;optimized out&amp;gt;, data=&amp;lt;optimized out&amp;gt;)
    at mm/filemap.c:1837
#7  0xffffffff8111444e in read_cache_page (mapping=&amp;lt;optimized out&amp;gt;, 
    index=&amp;lt;optimized out&amp;gt;, filler=&amp;lt;optimized out&amp;gt;, data=&amp;lt;optimized out&amp;gt;)
    at mm/filemap.c:1894
#8  0xffffffffa0dd276d in ll_get_dir_page (dir=0xffff88005461bb08, hash=0,     chain=&amp;lt;optimized out&amp;gt;)
    at /home/green/git/lustre-release/lustre/llite/dir.c:417
#9  0xffffffffa0dd3387 in ll_dir_read (inode=0xffff88005461bb08, 
    _pos=0xffff880055041ea0, cookie=0xffff880055041f38, 
    filldir=0xffffffff8118f230 &amp;lt;filldir&amp;gt;)
    at /home/green/git/lustre-release/lustre/llite/dir.c:492
#10 0xffffffffa0dd3749 in ll_readdir (filp=0xffff8800824d3f08, 
    cookie=0xffff880055041f38, filldir=0xffffffff8118f230 &amp;lt;filldir&amp;gt;)
    at /home/green/git/lustre-release/lustre/llite/dir.c:616
#11 0xffffffff8118f4c0 in vfs_readdir (file=0xffff8800824d3f08, 
    filler=0xffffffff8118f230 &amp;lt;filldir&amp;gt;, buf=0xffff880055041f38)
    at fs/readdir.c:39
#12 0xffffffff8118f6b9 in sys_getdents (fd=&amp;lt;optimized out&amp;gt;, dirent=0xbcc068, 
    count=32768) at fs/readdir.c:213
#13 0xffffffff8100b0f2 in system_call_fastpath ()
    at arch/x86/kernel/entry_64.S:488
#14 0x0000000000000246 in per_cpu__irq_stack_union ()
Cannot access memory at address 0xffffffffffffffb0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The reason it failed is because dir entry is outside of mapped area:&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;(gdb) p tmp
$1 = (struct lu_dirent *) 0xffff880025404387
(gdb) p ent
$2 = (struct lu_dirent *) 0xffff880025404387
(gdb) p ent-&amp;gt;lde_reclen
Cannot access memory at address 0xffff88002540439f &amp;lt;-- Not mapped
(gdb) p dp
$6 = (struct lu_dirpage *) 0xffff8800253fd000
(gdb) p *dp
$8 = {ldp_hash_start = 21410096, ldp_hash_end = 21410112, ldp_flags = 21337584, 
  ldp_pad0 = 0, ldp_entries = 0xffff8800253fd018}
(gdb) p ent
$9 = (struct lu_dirent *) 0xffff880025404387
(gdb) p 0xffff880025404387-0xffff8800253fd018
$10 = 29551
(gdb) p LDF_EMPTY
$11 = LDF_EMPTY
(gdb) p dp-&amp;gt;ldp_flags &amp;amp; LDF_EMPTY
$12 = 0
(gdb) p ((struct lu_dirent *)0xffff8800253fd018)-&amp;gt;lde_reclen
$13 = 29551
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;So the directory entry claims it is 29k long which does not make too much sense to me.&lt;/p&gt;

&lt;p&gt;There was a bunch of watchdog firings on OSTs right before this happened, but I don&apos;t think it&apos;s related.&lt;/p&gt;</description>
                <environment></environment>
        <key id="17587">LU-2820</key>
            <summary>Crash in lmv_readpage</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="5">Cannot Reproduce</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Fri, 15 Feb 2013 12:15:30 +0000</created>
                <updated>Thu, 9 Jan 2020 06:28:48 +0000</updated>
                            <resolved>Thu, 9 Jan 2020 06:28:48 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="52449" author="green" created="Fri, 15 Feb 2013 12:16:06 +0000"  >&lt;p&gt;I also have a crashdump if needed&lt;/p&gt;</comment>
                            <comment id="260834" author="adilger" created="Thu, 9 Jan 2020 06:28:48 +0000"  >&lt;p&gt;Close old bug&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|hzvj7b:</customfieldvalue>

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