<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:54:11 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-12618] List corruption in lnet</title>
                <link>https://jira.whamcloud.com/browse/LU-12618</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&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;
[602080.689569] ------------[ cut here ]------------
[602080.694306] WARNING: CPU: 23 PID: 3716 at lib/list_debug.c:29 __list_add+0x65/0xc0
[602080.701989] list_add corruption. next-&amp;gt;prev should be prev (ffff886bae1f0a98), but was dead000000000200. (next=ffff888f64636000).
[602080.713769] Modules linked in: osc(OE) mgc(OE) lustre(OE) lmv(OE) fld(OE) mdc(OE) fid(OE) lov(OE) ko2iblnd(OE) ptlrpc(OE) obdclass(OE) lnet(OE) sha512_ssse3 sha512_generic crypto_null libcfs(OE) vtsspp(OE) sep4_1(OE) socperf2_0(OE) ebtable_filter ebtables ip6table_filter ip6_tables pax(OE) rpcsec_gss_krb5 nfsv4 dns_resolver nfs fscache bridge 8021q garp mrp stp llc rdma_ucm(OE) ib_ucm(OE) rdma_cm(OE) iw_cm(OE) ib_ipoib(OE) ib_cm(OE) ib_uverbs(OE) ib_umad(OE) mlx5_fpga_tools(OE) mlx5_ib(OE) mlx4_en(OE) mlx4_ib(OE) ib_core(OE) mlx4_core(OE) ipt_REJECT nf_reject_ipv4 xt_conntrack iptable_filter iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle skx_edac edac_core vfat fat intel_powerclamp coretemp intel_rapl iosf_mbi kvm_intel kvm irqbypass crc32_pclmul ghash_clmulni_intel
[602080.786461]  hpilo hpwdt aesni_intel lrw gf128mul glue_helper ablk_helper ses enclosure mei_me cryptd mei ipmi_si pcspkr shpchp joydev ipmi_devintf wmi sg ipmi_msghandler lpc_ich acpi_power_meter nfsd auth_rpcgss nfs_acl lockd grace sunrpc knem(OE) ip_tables xfs sr_mod cdrom sd_mod crc_t10dif crct10dif_generic mgag200 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect mlx5_core(OE) sysimgblt mlxfw(OE) fb_sys_fops ahci ttm libahci mlx_compat(OE) bnx2x(OE) uas tg3(OE) devlink mdio drm smartpqi(OE) crct10dif_pclmul crct10dif_common ptp scsi_transport_sas libata usb_storage libcrc32c crc32c_intel i2c_core pps_core dm_mirror dm_region_hash dm_log dm_mod
[602080.843594] CPU: 23 PID: 3716 Comm: kiblnd_sd_11_01 Tainted: G        W  OE  ------------   3.10.0-693.el7.x86_64 #1
[602080.854240] Hardware name: HPE ProLiant DL360 Gen10/ProLiant DL360 Gen10, BIOS U32 06/20/2018
[602080.862880]  ffff88238d297c48 0000000029e8e2dd ffff88238d297bf8 ffffffff816a3d91
[602080.870425]  ffff88238d297c38 ffffffff810879c8 0000001dae25b800 ffff886b81b5ac00
[602080.877971]  ffff888f64636000 ffff886bae1f0a98 ffff886b81b5ac00 ffff886ba43f8030
[602080.885517] Call Trace:
[602080.888061]  [&amp;lt;ffffffff816a3d91&amp;gt;] dump_stack+0x19/0x1b
[602080.893305]  [&amp;lt;ffffffff810879c8&amp;gt;] __warn+0xd8/0x100
[602080.898286]  [&amp;lt;ffffffff81087a4f&amp;gt;] warn_slowpath_fmt+0x5f/0x80
[602080.904140]  [&amp;lt;ffffffff8133d8a5&amp;gt;] __list_add+0x65/0xc0
[602080.909388]  [&amp;lt;ffffffffc0d8b676&amp;gt;] lnet_msg_commit+0x66/0x180 [lnet]
[602080.915767]  [&amp;lt;ffffffffc0d981bd&amp;gt;] lnet_parse+0x3ed/0xcf0 [lnet]
[602080.921800]  [&amp;lt;ffffffffc0fedd9b&amp;gt;] kiblnd_handle_rx+0x1eb/0x640 [ko2iblnd]
[602080.928701]  [&amp;lt;ffffffffc0ff4336&amp;gt;] kiblnd_scheduler+0xe66/0x10a0 [ko2iblnd]
[602080.935687]  [&amp;lt;ffffffff810ce54e&amp;gt;] ? dequeue_task_fair+0x41e/0x660
[602080.941889]  [&amp;lt;ffffffff810c4810&amp;gt;] ? wake_up_state+0x20/0x20
[602080.947568]  [&amp;lt;ffffffffc0ff34d0&amp;gt;] ? kiblnd_cq_event+0x80/0x80 [ko2iblnd]
[602080.954379]  [&amp;lt;ffffffff810b098f&amp;gt;] kthread+0xcf/0xe0
[602080.959359]  [&amp;lt;ffffffff810b08c0&amp;gt;] ? insert_kthread_work+0x40/0x40
[602080.965562]  [&amp;lt;ffffffff816b4f18&amp;gt;] ret_from_fork+0x58/0x90
[602080.971064]  [&amp;lt;ffffffff810b08c0&amp;gt;] ? insert_kthread_work+0x40/0x40
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;After investigating, looks into piece of code:&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;.....
        if (msg-&amp;gt;msg_rx_committed) {
                /* forwarding msg committed for both receiving and sending */
                if (cpt != msg-&amp;gt;msg_rx_cpt) {
                        lnet_net_unlock(cpt);
                        cpt2 = msg-&amp;gt;msg_rx_cpt;
                        lnet_net_lock(cpt2);
                }
                lnet_msg_decommit_rx(msg, status);
        }
......
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The cpt2 store msg_rx_cpt and then get the cpt_lock, but the msg_rx_cpt could be changed in this period. Then we may mess up the msc_active list below.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="56539">LU-12618</key>
            <summary>List corruption in lnet</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="ys">Yang Sheng</assignee>
                                    <reporter username="ys">Yang Sheng</reporter>
                        <labels>
                    </labels>
                <created>Wed, 31 Jul 2019 13:22:35 +0000</created>
                <updated>Tue, 7 Apr 2020 14:21:54 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="252316" author="gerrit" created="Wed, 31 Jul 2019 14:03:45 +0000"  >&lt;p&gt;Yang Sheng (ys@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35654&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35654&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12618&quot; title=&quot;List corruption in lnet&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12618&quot;&gt;LU-12618&lt;/a&gt; lnet: list corruption&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 427d45cfde7bea2dd95a1972a621954917ea721d&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </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|i00kh3:</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>