<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:49:56 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-5260] Null pointer dereference in ll_cl_find</title>
                <link>https://jira.whamcloud.com/browse/LU-5260</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;During testing of 2.6 clients and servers (with striped directories), we lost a client to a null pointer dereference here:&lt;/p&gt;

&lt;p&gt;BUG: unable to handle kernel NULL pointer dereference at 0000000000000010&lt;br/&gt;
IP: &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0801500&amp;gt;&amp;#93;&lt;/span&gt; ll_cl_find+0x50/0x80 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
PGD 4ef80f067 PUD 91ff68067 PMD 0&lt;br/&gt;
Oops: 0000 &lt;a href=&quot;#1&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;1&lt;/a&gt; SMP&lt;br/&gt;
CPU 5&lt;br/&gt;
Modules linked in: xpmem dvspn(P) dvsof(P) dvsutil(P) dvsipc(P) dvsipc_lnet(P) d&lt;br/&gt;
vsproc(P) bpmcdmod nic_compat cmsr osc mgc lustre lov mdc fid lmv fld kgnilnd pt&lt;br/&gt;
lrpc obdclass lnet sha1_generic libcfs ib_core pcie_link_bw_monitor kdreg gpcd_a&lt;br/&gt;
ri ipogif_ari kgni_ari hwerr(P) rca hss_os(P) heartbeat simplex(P) ghal_ari cray&lt;br/&gt;
trace&lt;/p&gt;

&lt;p&gt;Pid: 13639, comm: memfill3 Tainted: P            3.0.101-0.15.1_1.0502.8131-cray&lt;br/&gt;
_ari_c #1 Cray Inc. Cascade/Cascade&lt;br/&gt;
RIP: 0010:&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0801500&amp;gt;&amp;#93;&lt;/span&gt;  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0801500&amp;gt;&amp;#93;&lt;/span&gt; ll_cl_find+0x50/0x80 [lustr&lt;br/&gt;
e]&lt;br/&gt;
RSP: 0018:ffff8806e5c51ad8  EFLAGS: 00010217&lt;br/&gt;
RAX: ffff8804ef80c7f0 RBX: ffff880c611fdec0 RCX: ffff880c611fdf88&lt;br/&gt;
RDX: 0000000000000000 RSI: ffff880c611fbcc0 RDI: ffff880c611fdf84&lt;br/&gt;
RBP: ffff8806e5c51ae8 R08: 0000000000000000 R09: ffff8806e5c51c00&lt;br/&gt;
R10: 0000000000000320 R11: ffff880fb387bf68 R12: ffff880c611fdf84&lt;br/&gt;
R13: 0000000005d6df80 R14: 0000000000005d6d R15: 0000000000000000&lt;br/&gt;
FS:  00000000402569e0(0063) GS:ffff88107faa0000(0000) knlGS:0000000000000000&lt;br/&gt;
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b&lt;br/&gt;
CR2: 0000000000000010 CR3: 00000004ef80e000 CR4: 00000000001407e0&lt;br/&gt;
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000&lt;br/&gt;
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400&lt;br/&gt;
Process memfill3 (pid: 13639, threadinfo ffff8806e5c50000, task ffff8804ef80c7f0&lt;br/&gt;
)&lt;br/&gt;
Stack:&lt;br/&gt;
 ffff880c611fbcc0 ffff880fbfd149c0 ffff8806e5c51b78 ffffffffa08204d3&lt;br/&gt;
 0000000000000000 ffff8806e5c51c00 0000008000000000 0000000000000000&lt;br/&gt;
 0000000000000000 ffff880c7759cf48 00000f80e5c51ba8 ffffffffa0816c27&lt;br/&gt;
Call Trace:&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa08204d3&amp;gt;&amp;#93;&lt;/span&gt; ll_write_begin+0x83/0x760 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff810fdede&amp;gt;&amp;#93;&lt;/span&gt; generic_file_buffered_write+0x10e/0x240&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81100cd9&amp;gt;&amp;#93;&lt;/span&gt; __generic_file_aio_write+0x259/0x450&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81100f29&amp;gt;&amp;#93;&lt;/span&gt; generic_file_aio_write+0x59/0xc0&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa08358ec&amp;gt;&amp;#93;&lt;/span&gt; vvp_io_write_start+0xfc/0x3e0 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0377582&amp;gt;&amp;#93;&lt;/span&gt; cl_io_start+0x72/0x140 &lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa037b134&amp;gt;&amp;#93;&lt;/span&gt; cl_io_loop+0xb4/0x1b0 &lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa07d0c02&amp;gt;&amp;#93;&lt;/span&gt; ll_file_io_generic+0x5a2/0x8d0 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa07d115f&amp;gt;&amp;#93;&lt;/span&gt; ll_file_aio_write+0x22f/0x290 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa07d1b25&amp;gt;&amp;#93;&lt;/span&gt; ll_file_write+0x1e5/0x270 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff811586bb&amp;gt;&amp;#93;&lt;/span&gt; vfs_write+0xcb/0x180&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81158865&amp;gt;&amp;#93;&lt;/span&gt; sys_write+0x55/0x90&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffff81427bab&amp;gt;&amp;#93;&lt;/span&gt; system_call_fastpath+0x16/0x1b&lt;br/&gt;
 &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;0000000020035811&amp;gt;&amp;#93;&lt;/span&gt; 0x20035810&lt;br/&gt;
Code: c8 00 00 00 48 8d 8b c8 00 00 00 48 39 ca 74 2d 65 48 8b 04 25 c0 b5 00 00&lt;br/&gt;
 48 39 42 10 75 12 eb 2a 66 2e 0f 1f 84 00 00 00 00 00&lt;br/&gt;
8&amp;gt; 39 42 10 74 1a 48 8b 12 48 39 ca 0f 1f 40 00 75 ee 31 c0 f0&lt;br/&gt;
RIP  &lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;lt;ffffffffa0801500&amp;gt;&amp;#93;&lt;/span&gt; ll_cl_find+0x50/0x80 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
 RSP &amp;lt;ffff8806e5c51ad8&amp;gt;&lt;br/&gt;
CR2: 0000000000000010&lt;br/&gt;
--&lt;del&gt;[ end trace 52e397e4bde9254f ]&lt;/del&gt;--&lt;/p&gt;

&lt;p&gt;This is an untouched copy of master from last week, no other patches.  The most recent commit:&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3188&quot; title=&quot;IOR fails due to client stack overrun&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3188&quot;&gt;&lt;del&gt;LU-3188&lt;/del&gt;&lt;/a&gt; osc: shorten IO calling path&lt;br/&gt;
Description:&lt;br/&gt;
By using osc_io_unplug_aync() for osc_queue_sync_pages() to shorten&lt;br/&gt;
the IO calling path, to reduce the chance of stack overflow.&lt;/p&gt;

&lt;p&gt;This is revive of git commit 83ae17df2bdce837e62473aec27c03d67312c8ea.&lt;/p&gt;

&lt;p&gt;Signed-off-by: Bobi Jam &amp;lt;bobijam.xu@intel.com&amp;gt;&lt;br/&gt;
Change-Id: I2ac32866f7adbc4701370704612c849a18a5d1ac&lt;br/&gt;
Reviewed-on: &lt;a href=&quot;http://review.whamcloud.com/10292&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10292&lt;/a&gt;&lt;/p&gt;</description>
                <environment>SLES11 SP3 2.6 clients, CentOS 2.6 servers with striped directories.</environment>
        <key id="25323">LU-5260</key>
            <summary>Null pointer dereference in ll_cl_find</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="jay">Jinshan Xiong</assignee>
                                    <reporter username="paf">Patrick Farrell</reporter>
                        <labels>
                    </labels>
                <created>Thu, 26 Jun 2014 15:08:02 +0000</created>
                <updated>Tue, 8 Jul 2014 17:35:53 +0000</updated>
                            <resolved>Tue, 8 Jul 2014 17:35:53 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="87567" author="paf" created="Thu, 26 Jun 2014 15:10:36 +0000"  >&lt;p&gt;I&apos;ll make the dump available shortly.&lt;/p&gt;

&lt;p&gt;A few thoughts: This was encountered during testing of striped directories.  Not clearly relevant.&lt;br/&gt;
We have not previously seen this in our 2.6 client testing, so unless it&apos;s related to DNE2, it&apos;s likely to be rare.&lt;/p&gt;</comment>
                            <comment id="87572" author="paf" created="Thu, 26 Jun 2014 15:38:38 +0000"  >&lt;p&gt;Dump:&lt;br/&gt;
ftp.whamcloud.com:/uploads/&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5260&quot; title=&quot;Null pointer dereference in ll_cl_find&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5260&quot;&gt;&lt;del&gt;LU-5260&lt;/del&gt;&lt;/a&gt;/LU_5260_140626.tar.gz&lt;/p&gt;</comment>
                            <comment id="87587" author="jlevi" created="Thu, 26 Jun 2014 17:12:18 +0000"  >&lt;p&gt;Jinshan,&lt;br/&gt;
Can you please comment on this one?&lt;br/&gt;
Thank you!&lt;/p&gt;</comment>
                            <comment id="87612" author="jay" created="Thu, 26 Jun 2014 19:19:06 +0000"  >&lt;p&gt;it looks like that ll_cl_context{} list was corrupted. Please try the following debug patch and see what&apos;ll happen.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/10856&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10856&lt;/a&gt;&lt;/p&gt;

</comment>
                            <comment id="87627" author="paf" created="Thu, 26 Jun 2014 21:25:53 +0000"  >&lt;p&gt;Jinshan -&lt;/p&gt;

&lt;p&gt;We&apos;ve only hit this once so far..  Do you think that patch would be OK to temporarily commit to Cray&apos;s copy of master, so it&apos;s part of all of our master testing?  If it&apos;s expected to have a large perf impact, I&apos;d have to limit it to test runs looking for this issue.&lt;/p&gt;</comment>
                            <comment id="87844" author="paf" created="Mon, 30 Jun 2014 21:59:54 +0000"  >&lt;p&gt;On another test run, we hit what I assume is the same bug; a CPU stall when searching the list in ll_cl_find.  We&apos;re going to arrange a test run with Jinshan&apos;s debug patch.&lt;/p&gt;</comment>
                            <comment id="88050" author="jay" created="Wed, 2 Jul 2014 22:44:28 +0000"  >&lt;p&gt;After taking a further look, I think I found the problem. I&apos;m creating the patch and will share it with you shortly.&lt;/p&gt;</comment>
                            <comment id="88051" author="jay" created="Wed, 2 Jul 2014 22:52:39 +0000"  >&lt;p&gt;patch is at: &lt;a href=&quot;http://review.whamcloud.com/10955&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10955&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="88204" author="adilger" created="Fri, 4 Jul 2014 17:47:02 +0000"  >&lt;p&gt;Was introduced by &lt;a href=&quot;http://review.whamcloud.com/10503&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/10503&lt;/a&gt; .&lt;/p&gt;</comment>
                            <comment id="88467" author="jlevi" created="Tue, 8 Jul 2014 17:35:53 +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 ">
                                        <issuelink>
            <issuekey id="24834">LU-5108</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hzwpzz:</customfieldvalue>

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