<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:59:43 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-13254] crash at lu_object_find() in mdt_lvbo_fill()</title>
                <link>https://jira.whamcloud.com/browse/LU-13254</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt; few recent test runs at Oleg tests showed this trace:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
BUG: unable to handle kernel NULL pointer dereference at 0000000000000026
IP: [&amp;lt;ffffffffa033793d&amp;gt;] lu_object_find+0xd/0x20 [obdclass]
PGD 0
Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
Modules linked in: zfs(PO) zunicode(PO) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) lustre(OE) ofd(OE) osp(OE) lod(OE) ost(OE) mdt(OE) mdd(OE) mgs(OE) osd_ldiskfs(OE) ldiskfs(OE) lquota(OE) lfsck(OE) obdecho(OE) mgc(OE) lov(OE) mdc(OE) osc(OE) lmv(OE) fid(OE) fld(OE) ptlrpc_gss(OE) ptlrpc(OE) obdclass(OE) ksocklnd(OE) lnet(OE) crc32_generic libcfs(OE) dm_flakey dm_mod crc_t10dif crct10dif_generic crct10dif_common rpcsec_gss_krb5 pcspkr squashfs i2c_piix4 i2c_core binfmt_misc ip_tables ext4 mbcache jbd2 ata_generic pata_acpi serio_raw ata_piix libata
CPU: 0 PID: 8810 Comm: mdt_out00_001 Kdump: loaded Tainted: P           OE  ------------   3.10.0-7.7-debug #1
Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
task: ffff8800a5f94780 ti: ffff8800aa2f0000 task.ti: ffff8800aa2f0000
RIP: 0010:[&amp;lt;ffffffffa033793d&amp;gt;]  [&amp;lt;ffffffffa033793d&amp;gt;] lu_object_find+0xd/0x20 [obdclass]
RSP: 0018:ffff8800aa2f3b58  EFLAGS: 00010246
RAX: 0000000000000006 RBX: ffff8800a5f86448 RCX: 0000000000000000
RDX: ffff8800a5f86448 RSI: ffff8800c05cf000 RDI: ffff88009c38a400
RBP: ffff8800aa2f3b58 R08: ffff880106431000 R09: ffff8800b5ee8080
R10: ffff8800a5f86000 R11: ffff8800aa2f3876 R12: ffff88009c38a400
R13: ffff8800c05cf000 R14: ffff8800ac23fe70 R15: ffff88009c38a400
FS:  0000000000000000(0000) GS:ffff88011e200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000026 CR3: 00000000a2856000 CR4: 00000000000006f0
Call Trace:
 [&amp;lt;ffffffffa0cd7e9b&amp;gt;] mdt_object_find+0x4b/0x170 [mdt]
 [&amp;lt;ffffffffa0d10dc0&amp;gt;] mdt_lvbo_fill+0x530/0xa80 [mdt]
 [&amp;lt;ffffffffa05f1f5d&amp;gt;] ldlm_handle_enqueue0+0x5cd/0x15f0 [ptlrpc]
 [&amp;lt;ffffffffa061ba50&amp;gt;] ? lustre_swab_ldlm_lock_desc+0x30/0x30 [ptlrpc]
 [&amp;lt;ffffffffa067a292&amp;gt;] tgt_enqueue+0x62/0x210 [ptlrpc]
 [&amp;lt;ffffffffa0682f55&amp;gt;] tgt_request_handle+0x965/0x1620 [ptlrpc]
 [&amp;lt;ffffffffa020bdde&amp;gt;] ? libcfs_nid2str_r+0xfe/0x130 [lnet]
 [&amp;lt;ffffffffa0625f60&amp;gt;] ptlrpc_server_handle_request+0x250/0xb10 [ptlrpc]
 [&amp;lt;ffffffff810c6941&amp;gt;] ? __wake_up_common_lock+0x91/0xc0
 [&amp;lt;ffffffff810c6250&amp;gt;] ? sched_feat_set+0xf0/0xf0
 [&amp;lt;ffffffffa062a1c0&amp;gt;] ptlrpc_main+0xcb0/0x1cb0 [ptlrpc]
 [&amp;lt;ffffffff810c665d&amp;gt;] ? finish_task_switch+0x5d/0x1b0
 [&amp;lt;ffffffffa0629510&amp;gt;] ? ptlrpc_register_service+0xff0/0xff0 [ptlrpc]
 [&amp;lt;ffffffff810b8254&amp;gt;] kthread+0xe4/0xf0
 [&amp;lt;ffffffff810b8170&amp;gt;] ? kthread_create_on_node+0x140/0x140
 [&amp;lt;ffffffff817e5ddd&amp;gt;] ret_from_fork_nospec_begin+0x7/0x21
 [&amp;lt;ffffffff810b8170&amp;gt;] ? kthread_create_on_node+0x140/0x140
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;problem is related to wrongly initialized &lt;tt&gt;mdt_thread_info&lt;/tt&gt; values, particularly &lt;tt&gt;mti_mdt&lt;/tt&gt;. Interesting that none of them are needed in &lt;tt&gt;mdt_lvbo_fill&lt;/tt&gt;, there are only couple fields are needed as temporary storage for FID and data buffer.&lt;/p&gt;</description>
                <environment></environment>
        <key id="58098">LU-13254</key>
            <summary>crash at lu_object_find() in mdt_lvbo_fill()</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="tappro">Mikhail Pershin</assignee>
                                    <reporter username="tappro">Mikhail Pershin</reporter>
                        <labels>
                    </labels>
                <created>Sat, 15 Feb 2020 16:42:13 +0000</created>
                <updated>Tue, 25 Feb 2020 13:55:13 +0000</updated>
                            <resolved>Tue, 25 Feb 2020 13:55:13 +0000</resolved>
                                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="263402" author="gerrit" created="Sat, 15 Feb 2020 17:43:41 +0000"  >&lt;p&gt;Mike Pershin (mpershin@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/37592&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37592&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13254&quot; title=&quot;crash at lu_object_find() in mdt_lvbo_fill()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13254&quot;&gt;&lt;del&gt;LU-13254&lt;/del&gt;&lt;/a&gt; mdt: clear mti_mdt in mdt_thread_info_fini()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 9309567ede34573cb2408cd85064dc4b6de22a27&lt;/p&gt;</comment>
                            <comment id="263403" author="tappro" created="Sat, 15 Feb 2020 18:07:05 +0000"  >&lt;p&gt;Patch clears &lt;tt&gt;mti_mdt&lt;/tt&gt; in &lt;tt&gt;mdt_thread_info_fini&lt;/tt&gt;, so it may produce new issues with NULL mdt in some other places which may use uninitialized thread info like &lt;tt&gt;mdt_lvbo_fill()&lt;/tt&gt; did, though I didn&apos;t find them but still possible.&lt;br/&gt;
 Interesting that such issues can stay for long time unnoticed or unclear because usually &lt;tt&gt;mti_mdt&lt;/tt&gt; is the same MDT or different MDT in DNE config but still it is valid MDT so cause no immediate error or crash. Meanwhile wrong MDT data is being used and cause weird/unclear effects. I think that long-standing issue like below are also result of using parameters from wrong MDT:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
LustreError: 8097:0:(mdt_lvb.c:163:mdt_lvbo_fill()) lustre-MDT0000: expected 944 actual 416.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="263957" author="gerrit" created="Tue, 25 Feb 2020 05:50:31 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/37592/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37592/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13254&quot; title=&quot;crash at lu_object_find() in mdt_lvbo_fill()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13254&quot;&gt;&lt;del&gt;LU-13254&lt;/del&gt;&lt;/a&gt; mdt: clear mti_mdt in mdt_thread_info_fini()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 4b3748ae6f8859ee56a142bdf03b8006e888b868&lt;/p&gt;</comment>
                            <comment id="264012" author="pjones" created="Tue, 25 Feb 2020 13:55:13 +0000"  >&lt;p&gt;Landed for 2.14&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|i00tt3:</customfieldvalue>

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