<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:10:25 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-7613] racer crash on lustre nfs mount, kernel BUG at fs/namei.c:1669</title>
                <link>https://jira.whamcloud.com/browse/LU-7613</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Once in a few times racer crashes with the following logs:&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;&amp;lt;6&amp;gt;Lustre: ctl-lustre-MDT0000: &lt;span class=&quot;code-keyword&quot;&gt;super&lt;/span&gt;-sequence allocation rc = 0 [0x0000000200000400-0x0000000240000400):0:mdt
&amp;lt;3&amp;gt;LustreError: 6426:0:(llite_nfs.c:307:ll_get_parent()) lustre: failure inode [0x200000400:0xee:0x0] get parent: rc = -2
&amp;lt;4&amp;gt;reconnect_path: npd != pd
&amp;lt;3&amp;gt;LustreError: 6424:0:(dir.c:429:ll_get_dir_page()) read cache page: [0x200000400:0x5d2:0x0] at 0: rc -2
&amp;lt;3&amp;gt;LustreError: 6424:0:(dir.c:597:ll_dir_read()) error reading dir [0x200000400:0x5d2:0x0] at 0: rc -2
&amp;lt;3&amp;gt;LustreError: 6431:0:(llite_nfs.c:307:ll_get_parent()) lustre: failure inode [0x200000400:0x5d2:0x0] get parent: rc = -2
&amp;lt;3&amp;gt;LustreError: 6431:0:(llite_nfs.c:307:ll_get_parent()) Skipped 2 previous similar messages
&amp;lt;4&amp;gt;------------[ cut here ]------------
&amp;lt;2&amp;gt;kernel BUG at fs/namei.c:1669!
&amp;lt;4&amp;gt;invalid opcode: 0000 [#1] SMP 
&amp;lt;4&amp;gt;last sysfs file: /sys/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda/dev
&amp;lt;4&amp;gt;CPU 2 
&amp;lt;4&amp;gt;Modules linked in: lustre(U) ofd(U) osp(U) lod(U) ost(U) mdt(U) mdd(U) mgs(U) osd_ldiskfs(U) ldiskfs(U) lquota(U) lfsck(U) obdecho(U) mgc(U) lov(U) osc(U) mdc(U) lmv(U) fid(U) fld(U) ptlrpc_gss(U) ptlrpc(U) obdclass(U) ksocklnd(U) lnet(U) sha512_generic sha256_generic libcfs(U) autofs4 nfs fscache 8021q garp stp llc rdma_ucm(U) ib_ucm(U) rdma_cm(U) iw_cm(U) ib_ipoib(U) ib_cm(U) ib_uverbs(U) ib_umad(U) mlx5_ib(U) mlx5_core(U) mlx4_en(U) ptp pps_core mlx4_ib(U) ib_sa(U) ib_mad(U) ib_core(U) ib_addr(U) ipv6 mlx4_core(U) compat(U) nfsd lockd nfs_acl auth_rpcgss sunrpc exportfs ext3 jbd uinput ppdev iTCO_wdt iTCO_vendor_support parport_pc parport microcode sg serio_raw i2c_i801 lpc_ich mfd_core r8169 mii snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm snd_timer snd soundcore snd_page_alloc ext4 jbd2 mbcache sd_mod crc_t10dif ahci i915 drm_kms_helper drm i2c_algo_bit i2c_core video output dm_mirror dm_region_hash dm_log dm_mod [last unloaded: scsi_wait_scan]
&amp;lt;4&amp;gt;
&amp;lt;4&amp;gt;Pid: 6424, comm: nfsd Not tainted 2.6.32-431.17.1.x2.0.47.x86_64 #1                  /D525MWV
&amp;lt;4&amp;gt;RIP: 0010:[&amp;lt;ffffffff81197a24&amp;gt;]  [&amp;lt;ffffffff81197a24&amp;gt;] may_delete+0x134/0x190
&amp;lt;4&amp;gt;RSP: 0018:ffff8800be16bc30  EFLAGS: 00010283
&amp;lt;4&amp;gt;RAX: ffff8800375b5c00 RBX: ffff88009b347180 RCX: ffff88009b26f3c0
&amp;lt;4&amp;gt;RDX: 0000000000000000 RSI: ffff88009b347180 RDI: ffff880104beeb38
&amp;lt;4&amp;gt;RBP: ffff8800be16bc50 R08: ffff88003753a980 R09: ffff88003753a980
&amp;lt;4&amp;gt;R10: ffff880104beeb38 R11: ffff880104beeb38 R12: ffff880104beeb38
&amp;lt;4&amp;gt;R13: 0000000000000000 R14: 0000000000000000 R15: ffff880104beeb38
&amp;lt;4&amp;gt;FSe:  0000000000000000(0000) GS:ffff880028300000(0000) knlGS:0000000000000000
&amp;lt;4&amp;gt;CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
&amp;lt;4&amp;gt;CR2: 0000003a50f5a04c CR3: 00000000964e7000 CR4: 00000000000007e0
&amp;lt;4&amp;gt;DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
&amp;lt;4&amp;gt;DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
&amp;lt;4&amp;gt;&lt;span class=&quot;code-object&quot;&gt;Process&lt;/span&gt; nfsd (pid: 6424, threadinfo ffff8800be16a000, task ffff880102fe2080)
&amp;lt;4&amp;gt;Stack:
&amp;lt;4&amp;gt; 0000000000000000 ffff88009b347180 ffff88009b26f3c0 0000000000000000
&amp;lt;4&amp;gt;&amp;lt;d&amp;gt; ffff8800be16bcd0 ffffffff81197cbc ffff8800be16bc70 ffff88003753a980
&amp;lt;4&amp;gt;&amp;lt;d&amp;gt; ffff8800a45d80ba ffff8800bfb4b040 ffff8800a45d80b8 00000000ffffffea
&amp;lt;4&amp;gt;Call Trace:
&amp;lt;4&amp;gt; [&amp;lt;ffffffff81197cbc&amp;gt;] vfs_rename+0x5c/0x480
&amp;lt;4&amp;gt; [&amp;lt;ffffffffa03d0aca&amp;gt;] nfsd_rename+0x47a/0x4d0 [nfsd]
&amp;lt;4&amp;gt; [&amp;lt;ffffffffa03dd585&amp;gt;] nfsd4_rename+0x75/0x220 [nfsd]
&amp;lt;4&amp;gt; [&amp;lt;ffffffffa03df435&amp;gt;] ? nfsd4_encode_operation+0x75/0x180 [nfsd]
&amp;lt;4&amp;gt; [&amp;lt;ffffffffa03dd458&amp;gt;] nfsd4_proc_compound+0x3d8/0x490 [nfsd]
&amp;lt;4&amp;gt; [&amp;lt;ffffffffa03ca425&amp;gt;] nfsd_dispatch+0xe5/0x230 [nfsd]
&amp;lt;4&amp;gt; [&amp;lt;ffffffffa035a844&amp;gt;] svc_process_common+0x344/0x640 [sunrpc]
&amp;lt;4&amp;gt; [&amp;lt;ffffffff81061dc0&amp;gt;] ? default_wake_function+0x0/0x20
&amp;lt;4&amp;gt; [&amp;lt;ffffffffa035ae80&amp;gt;] svc_process+0x110/0x160 [sunrpc]
&amp;lt;4&amp;gt; [&amp;lt;ffffffffa03cab52&amp;gt;] nfsd+0xc2/0x160 [nfsd]
&amp;lt;4&amp;gt; [&amp;lt;ffffffffa03caa90&amp;gt;] ? nfsd+0x0/0x160 [nfsd]
&amp;lt;4&amp;gt; [&amp;lt;ffffffff8109ac66&amp;gt;] kthread+0x96/0xa0
&amp;lt;4&amp;gt; [&amp;lt;ffffffff8100c20a&amp;gt;] child_rip+0xa/0x20
&amp;lt;4&amp;gt; [&amp;lt;ffffffff8109abd0&amp;gt;] ? kthread+0x0/0xa0
&amp;lt;4&amp;gt; [&amp;lt;ffffffff8100c200&amp;gt;] ? child_rip+0x0/0x20
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The appropriate kernel code is:&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;&lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; may_delete(struct inode *dir,struct dentry *victim,&lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; isdir)
{
        &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; error;

        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!victim-&amp;gt;d_inode)
                &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; -ENOENT;

        BUG_ON(victim-&amp;gt;d_parent-&amp;gt;d_inode != dir);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="33864">LU-7613</key>
            <summary>racer crash on lustre nfs mount, kernel BUG at fs/namei.c:1669</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="wc-triage">WC Triage</assignee>
                                    <reporter username="lokesh.jaliminche">Lokesh Nagappa Jaliminche</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Mon, 28 Dec 2015 09:43:21 +0000</created>
                <updated>Thu, 29 Nov 2018 16:37:19 +0000</updated>
                            <resolved>Thu, 11 Aug 2016 11:58:51 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="137472" author="lokesh.jaliminche" created="Mon, 28 Dec 2015 09:47:37 +0000"  >&lt;p&gt;Recreation steps:&lt;br/&gt;
===============&lt;br/&gt;
1. cat /etc/exports &lt;br/&gt;
 /mnt/lustre *(crossmnt,rw,no_root_squash,async,no_subtree_check,insecure)&lt;br/&gt;
2. mkdir /mnt/nfs_client&lt;br/&gt;
3. /etc/init.d/nfs stop&lt;br/&gt;
4. bash llmount.sh&lt;br/&gt;
5. /etc/init.d/nfs start&lt;br/&gt;
6. mount -t nfs server:/mnt/lustre /mnt/nfs_client&lt;br/&gt;
7. cd racer&lt;br/&gt;
8. bash racer.sh /mnt/nfs_client/&lt;br/&gt;
9. umount /mnt/nfs_client&lt;br/&gt;
10. /etc/init.d/nfs stop&lt;br/&gt;
11. bash llmountcleanup.sh&lt;/p&gt;
</comment>
                            <comment id="137474" author="gerrit" created="Mon, 28 Dec 2015 11:05:26 +0000"  >&lt;p&gt;lokesh.jaliminche (lokesh.jaliminche@seagate.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/17732&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17732&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7613&quot; title=&quot;racer crash on lustre nfs mount, kernel BUG at fs/namei.c:1669&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7613&quot;&gt;&lt;del&gt;LU-7613&lt;/del&gt;&lt;/a&gt; dcache: changes made to ll_splice_inode to avoid dcache corruption.&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 3e7901e9b654989502c951fb859e505ce4a4a8cb&lt;/p&gt;</comment>
                            <comment id="141753" author="lokesh.jaliminche" created="Wed, 10 Feb 2016 13:15:27 +0000"  >&lt;p&gt;ll_find_alias is responsible for getting alias for inode which can be reused. Directories are asumed to have unique alias. Where in case of non-directories there can be multiple&lt;br/&gt;
aliases. In case of lustre there can be two type of aliases i.e. discon_alias and invalid_alias. Invalid_alias is an alias which satisfies these conditions &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; &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (alias-&amp;gt;d_parent == dentry-&amp;gt;d_parent             &amp;amp;&amp;amp;
                         alias-&amp;gt;d_name.hash == dentry-&amp;gt;d_name.hash       &amp;amp;&amp;amp;
                         alias-&amp;gt;d_name.len == dentry-&amp;gt;d_name.len         &amp;amp;&amp;amp;
                         memcmp(alias-&amp;gt;d_name.name, dentry-&amp;gt;d_name.name,
                                dentry-&amp;gt;d_name.len) == 0)&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;p&gt; Usage of discon_alias in case of non-directories may corrupt dcache and leads to kernel crash. Patch created to avoid usage of discon_alias in case of non-directories&lt;/p&gt;</comment>
                            <comment id="161541" author="gerrit" created="Thu, 11 Aug 2016 05:49:49 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/17732/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17732/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7613&quot; title=&quot;racer crash on lustre nfs mount, kernel BUG at fs/namei.c:1669&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7613&quot;&gt;&lt;del&gt;LU-7613&lt;/del&gt;&lt;/a&gt; llite: changes to avoid cache corruption&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: cf6efbdb726ceae10a9f3c770bc7af9d15571a80&lt;/p&gt;</comment>
                            <comment id="161580" author="pjones" created="Thu, 11 Aug 2016 11:58:51 +0000"  >&lt;p&gt;Landed for 2.9&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|hzxwvj:</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>