<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:45:15 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-4719] mdt_dump_lmm crashes for directories created with a  large stripe count.</title>
                <link>https://jira.whamcloud.com/browse/LU-4719</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;For directories created with a large stripe when mdt_dump_lmm is called it will kernel panic.&lt;/p&gt;

&lt;p&gt;&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11496.962905&amp;#93;&lt;/span&gt; Pid: 48644, comm: mdt01_248 Not tainted 2.6.32-358.23.2.el6.atlas.x86_64 #1 Dell Inc. PowerEdge C6220 II/09N44V&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11496.994466&amp;#93;&lt;/span&gt; RIP: 0010:&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0c998fa&amp;gt;&amp;#93;&lt;/span&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0c998fa&amp;gt;&amp;#93;&lt;/span&gt; mdt_dump_lmm+0x1aa/0x410 &lt;span class=&quot;error&quot;&gt;&amp;#91;mdt&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.023662&amp;#93;&lt;/span&gt; RSP: 0018:ffff88086d9fdc30  EFLAGS: 00010282&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.043458&amp;#93;&lt;/span&gt; RAX: 0000000000000000 RBX: ffff8807baf1bff8 RCX: 5a5a5a595a5a5a5a&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.064035&amp;#93;&lt;/span&gt; RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000040&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.092925&amp;#93;&lt;/span&gt; RBP: ffff88086d9fdc80 R08: 0000000000004001 R09: 0000000000f40403&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.113743&amp;#93;&lt;/span&gt; R10: ffff8807baf1b1f8 R11: ffffffffa0bb56d0 R12: 000000000000008b&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.134012&amp;#93;&lt;/span&gt; R13: 0000000000000040 R14: 0000000000000000 R15: ffffffff00000000&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.163174&amp;#93;&lt;/span&gt; FS:  00007f6f7f130700(0000) GS:ffff880044680000(0000) knlGS:0000000000000000&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.192763&amp;#93;&lt;/span&gt; CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.204072&amp;#93;&lt;/span&gt; CR2: ffff8807baf1c000 CR3: 0000000c4ad87000 CR4: 00000000001407e0&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.232997&amp;#93;&lt;/span&gt; DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.253540&amp;#93;&lt;/span&gt; DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.274148&amp;#93;&lt;/span&gt; Process mdt01_248 (pid: 48644, threadinfo ffff88086d9fc000, task ffff88086d9b6ae0)&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.304009&amp;#93;&lt;/span&gt; Stack:&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.313221&amp;#93;&lt;/span&gt;  ffff88086d9e0000 00000096e6ec0000 0000000000000000 0000000000000000&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.334450&amp;#93;&lt;/span&gt; &amp;lt;d&amp;gt; ffffc900500c5e28 ffff88086d9e0000 ffff88086c8f8548 ffff8806447f73a0&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.363226&amp;#93;&lt;/span&gt; &amp;lt;d&amp;gt; ffff880be6ec0000 ffff8806447f7000 ffff88086d9fdd10 ffffffffa0c921c9&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.393213&amp;#93;&lt;/span&gt; Call Trace:&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.394912&amp;#93;&lt;/span&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0c921c9&amp;gt;&amp;#93;&lt;/span&gt; mdt_getattr_internal+0x669/0x13e0 &lt;span class=&quot;error&quot;&gt;&amp;#91;mdt&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.422925&amp;#93;&lt;/span&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0c9aa7c&amp;gt;&amp;#93;&lt;/span&gt; ? mdt_check_ucred+0x4c/0xa10 &lt;span class=&quot;error&quot;&gt;&amp;#91;mdt&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.443315&amp;#93;&lt;/span&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0c98d30&amp;gt;&amp;#93;&lt;/span&gt; mdt_getattr+0x160/0x900 &lt;span class=&quot;error&quot;&gt;&amp;#91;mdt&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.463294&amp;#93;&lt;/span&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0c86b27&amp;gt;&amp;#93;&lt;/span&gt; mdt_handle_common+0x647/0x16d0 &lt;span class=&quot;error&quot;&gt;&amp;#91;mdt&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.483521&amp;#93;&lt;/span&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa06c9d3c&amp;gt;&amp;#93;&lt;/span&gt; ? lustre_msg_get_transno+0x8c/0x100 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.504148&amp;#93;&lt;/span&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0cc2a85&amp;gt;&amp;#93;&lt;/span&gt; mds_regular_handle+0x15/0x20 &lt;span class=&quot;error&quot;&gt;&amp;#91;mdt&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.532941&amp;#93;&lt;/span&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa06d9558&amp;gt;&amp;#93;&lt;/span&gt; ptlrpc_server_handle_request+0x398/0xc60 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.553835&amp;#93;&lt;/span&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa03e25de&amp;gt;&amp;#93;&lt;/span&gt; ? cfs_timer_arm+0xe/0x10 &lt;span class=&quot;error&quot;&gt;&amp;#91;libcfs&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.573882&amp;#93;&lt;/span&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa03f3d9f&amp;gt;&amp;#93;&lt;/span&gt; ? lc_watchdog_touch+0x6f/0x170 &lt;span class=&quot;error&quot;&gt;&amp;#91;libcfs&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.594049&amp;#93;&lt;/span&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa06d08b9&amp;gt;&amp;#93;&lt;/span&gt; ? ptlrpc_wait_event+0xa9/0x290 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.622982&amp;#93;&lt;/span&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81055c93&amp;gt;&amp;#93;&lt;/span&gt; ? __wake_up+0x53/0x70&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.634054&amp;#93;&lt;/span&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa06da8ee&amp;gt;&amp;#93;&lt;/span&gt; ptlrpc_main+0xace/0x1700 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.654205&amp;#93;&lt;/span&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa06d9e20&amp;gt;&amp;#93;&lt;/span&gt; ? ptlrpc_main+0x0/0x1700 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.682781&amp;#93;&lt;/span&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8100c0ca&amp;gt;&amp;#93;&lt;/span&gt; child_rip+0xa/0x20&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.693726&amp;#93;&lt;/span&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa06d9e20&amp;gt;&amp;#93;&lt;/span&gt; ? ptlrpc_main+0x0/0x1700 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.713792&amp;#93;&lt;/span&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa06d9e20&amp;gt;&amp;#93;&lt;/span&gt; ? ptlrpc_main+0x0/0x1700 &lt;span class=&quot;error&quot;&gt;&amp;#91;ptlrpc&amp;#93;&lt;/span&gt;&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.733980&amp;#93;&lt;/span&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff8100c0c0&amp;gt;&amp;#93;&lt;/span&gt; ? child_rip+0x0/0x20&lt;br/&gt;
&amp;lt;4&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.753572&amp;#93;&lt;/span&gt; Code: 31 c0 8b 4b 14 44 89 e2 48 c7 c6 e8 ec cc a0 48 c7 c7 e0 30 cf a0 31 c0 e8 a4 89 75 ff 41 83 c4 01 44 3b 65 bc 7d 2a 48 83 c3 18 &amp;lt;48&amp;gt; 8b 43 08 48 85 c0 0f 85 d1 fe ff ff 48 8b 13 48 89 45 c8 48 &lt;br/&gt;
&amp;lt;1&amp;gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;11497.814662&amp;#93;&lt;/span&gt; RIP  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0c998fa&amp;gt;&amp;#93;&lt;/span&gt; mdt_dump_lmm+0x1aa/0x410 &lt;span class=&quot;error&quot;&gt;&amp;#91;mdt&amp;#93;&lt;/span&gt;&lt;/p&gt;</description>
                <environment>RHEL6.5 server and clients.</environment>
        <key id="23486">LU-4719</key>
            <summary>mdt_dump_lmm crashes for directories created with a  large stripe count.</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="green">Oleg Drokin</assignee>
                                    <reporter username="simmonsja">James A Simmons</reporter>
                        <labels>
                    </labels>
                <created>Thu, 6 Mar 2014 01:54:52 +0000</created>
                <updated>Tue, 29 Apr 2014 13:47:34 +0000</updated>
                            <resolved>Thu, 20 Mar 2014 14:29:07 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                    <version>Lustre 2.6.0</version>
                    <version>Lustre 2.4.2</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                    <fixVersion>Lustre 2.5.2</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="78557" author="pjones" created="Thu, 6 Mar 2014 02:03:27 +0000"  >&lt;p&gt;Oleg is working on the fix for this&lt;/p&gt;</comment>
                            <comment id="78558" author="green" created="Thu, 6 Mar 2014 02:05:03 +0000"  >&lt;p&gt;The issue at hand is that mdt_dump_lmm assumes passed in striping is the real one.&lt;br/&gt;
Yet when it&apos;s a directory, while stripe count could be large, there are no real objects. It was on when we allocated the biggest possible EA sized buffer,&lt;br/&gt;
but now that &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4008&quot; title=&quot;Reduce vmalloc usage on MDS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4008&quot;&gt;&lt;del&gt;LU-4008&lt;/del&gt;&lt;/a&gt; shrinks that buffer, traversing this listof objects will walk out of the buffer and if the next page is not mapped, we;ll have this crash.&lt;/p&gt;

&lt;p&gt;We just need to make sure the EA is not for a directory before printing objects.&lt;/p&gt;

&lt;p&gt;I see lov_dump_lmm has somewhat similar code with o checks, so it needs to be verified separately not to do stupid things.&lt;/p&gt;</comment>
                            <comment id="78559" author="green" created="Thu, 6 Mar 2014 02:05:45 +0000"  >&lt;p&gt;Patch is in &lt;a href=&quot;http://review.whamcloud.com/9520&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/9520&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="78563" author="green" created="Thu, 6 Mar 2014 04:20:47 +0000"  >&lt;p&gt;Another observation, the mdt_dump_lmm traverses striping info even if it&apos;s not printed, so it&apos;s a pure waste of cpu time.&lt;/p&gt;

&lt;p&gt;Extra patch is needed to compare current visible msk to the level passed inthat functin and return early if there&apos;s no overlap.&lt;/p&gt;</comment>
                            <comment id="78572" author="adilger" created="Thu, 6 Mar 2014 08:51:57 +0000"  >&lt;p&gt;I was just going to write the same thing - this function is mostly just overhead.&lt;/p&gt;

&lt;p&gt;I pushed an updated version of the patch to skip iteration if nothing will be printed.&lt;/p&gt;</comment>
                            <comment id="79853" author="pjones" created="Thu, 20 Mar 2014 14:29:07 +0000"  >&lt;p&gt;Landed for 2.6&lt;/p&gt;</comment>
                            <comment id="81978" author="jamesanunez" created="Fri, 18 Apr 2014 19:03:24 +0000"  >&lt;p&gt;Patch for b2_5 at &lt;a href=&quot;http://review.whamcloud.com/10021&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10021&lt;/a&gt;&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|hzwgvz:</customfieldvalue>

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