<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:19:41 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-8685] Fix JBD2 issue in EL7 Kernels</title>
                <link>https://jira.whamcloud.com/browse/LU-8685</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;A bug in JBD2 version of EL7 has been unveiled at some sites. It can lead to Kernel Oopses like:&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;[ 3440.794264] ------------[ cut here ]------------
[ 3440.794294] kernel BUG at fs/jbd2/transaction.c:2239!
[ 3440.794319] invalid opcode: 0000 [#1] SMP 
[ 3440.794971] CPU: 10 PID: 7903 Comm: mdt03_010 Tainted: G           OE  ------------   3.10.0-327.36.1.el7_lustre.2.7.18.2.x86_64 #1
[ 3440.795057] task: ffff880fd3453980 ti: ffff880f7dea0000 task.ti: ffff880f7dea0000
[ 3440.795091] RIP: 0010:[&amp;lt;ffffffffa100a8b6&amp;gt;]  [&amp;lt;ffffffffa100a8b6&amp;gt;] __jbd2_journal_file_buffer+0x206/0x220 [jbd2]
[ 3440.795134] RSP: 0018:ffff880f7dea3810  EFLAGS: 00010246
[ 3440.795154] RAX: 000000009a0e9a0e RBX: ffff880fd2a15e00 RCX: 0000000000009a0e
[ 3440.795185] RDX: 0000000000009a0e RSI: ffff880fdcc9a100 RDI: ffff880fd2a15e00
[ 3440.795218] RBP: ffff880f7dea3860 R08: 4010000000000000 R09: 0fdccf2820080000
[ 3440.795249] R10: f00534cf13c20802 R11: 0000000000000002 R12: ffff880fdccf2820
[ 3440.795282] R13: ffff880fdcc9a100 R14: 0000000000000004 R15: ffff880fdccf2820
[ 3440.795311] FS:  0000000000000000(0000) GS:ffff88103fa80000(0000) knlGS:0000000000000000
[ 3440.795347] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 3440.795374] CR2: 0000000000d88e10 CR3: 000000000194a000 CR4: 00000000001407e0
[ 3440.795408] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 3440.795441] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 3440.795465] Stack:
[ 3440.795473]  0000000000009a0c 0000000000009a0e 0000000000009a0e ffff882025561ba0
[ 3440.795513]  00000000b540e5dd ffff880fd2a15e00 ffff880fdcc9a100 ffff880fce58e030
[ 3440.795555]  ffff882025561ba0 ffff880fdccf2820 ffff880f7dea38e8 ffffffffa100ac0c
[ 3440.795597] Call Trace:
[ 3440.795616]  [&amp;lt;ffffffffa100ac0c&amp;gt;] do_get_write_access+0x33c/0x4e0 [jbd2]
[ 3440.795650]  [&amp;lt;ffffffffa100add7&amp;gt;] jbd2_journal_get_write_access+0x27/0x40 [jbd2]
[ 3440.795682]  [&amp;lt;ffffffffa1068c0b&amp;gt;] __ldiskfs_journal_get_write_access+0x3b/0x80 [ldiskfs]
[ 3440.795725]  [&amp;lt;ffffffffa107c069&amp;gt;] ldiskfs_delete_entry+0xa9/0x1a0 [ldiskfs]
[ 3440.795770]  [&amp;lt;ffffffffa1197ab8&amp;gt;] ? osd_fld_lookup+0x48/0xd0 [osd_ldiskfs]
[ 3440.795809]  [&amp;lt;ffffffffa1197c03&amp;gt;] ? osd_remote_fid+0xc3/0x440 [osd_ldiskfs]
[ 3440.795848]  [&amp;lt;ffffffffa1198539&amp;gt;] osd_index_ea_delete+0x5b9/0xbf0 [osd_ldiskfs]
[ 3440.797985]  [&amp;lt;ffffffff811c186e&amp;gt;] ? kmem_cache_alloc_trace+0x1ce/0x1f0
[ 3440.800123]  [&amp;lt;ffffffffa142d017&amp;gt;] lod_index_delete+0x67/0x140 [lod]
[ 3440.802246]  [&amp;lt;ffffffffa0a48a3f&amp;gt;] ? lu_context_init+0xff/0x260 [obdclass]
[ 3440.804408]  [&amp;lt;ffffffffa147ff2c&amp;gt;] __mdd_index_delete_only+0x19c/0x260 [mdd]
[ 3440.806558]  [&amp;lt;ffffffffa1480d09&amp;gt;] __mdd_index_delete+0x49/0x2a0 [mdd]
[ 3440.808568]  [&amp;lt;ffffffffa0a4d64e&amp;gt;] ? lu_capainfo_get+0x1e/0x30 [obdclass]
[ 3440.810532]  [&amp;lt;ffffffffa1491500&amp;gt;] mdd_unlink+0x600/0xa90 [mdd]
[ 3440.812537]  [&amp;lt;ffffffffa1353ac6&amp;gt;] mdt_reint_unlink+0xa96/0x11f0 [mdt]
[ 3440.814493]  [&amp;lt;ffffffffa0a66afe&amp;gt;] ? lu_ucred+0x1e/0x30 [obdclass]
[ 3440.816392]  [&amp;lt;ffffffffa13575b0&amp;gt;] mdt_reint_rec+0x80/0x210 [mdt]
[ 3440.818283]  [&amp;lt;ffffffffa13382a9&amp;gt;] mdt_reint_internal+0x5d9/0xb30 [mdt]
[ 3440.820095]  [&amp;lt;ffffffffa1343237&amp;gt;] mdt_reint+0x67/0x140 [mdt]
[ 3440.821948]  [&amp;lt;ffffffffa0d149db&amp;gt;] tgt_request_handle+0x8fb/0x11f0 [ptlrpc]
[ 3440.823730]  [&amp;lt;ffffffffa0cb8aab&amp;gt;] ptlrpc_server_handle_request+0x21b/0xa90 [ptlrpc]
[ 3440.825391]  [&amp;lt;ffffffffa0905e08&amp;gt;] ? lc_watchdog_touch+0x68/0x180 [libcfs]
[ 3440.827156]  [&amp;lt;ffffffffa0cb5b78&amp;gt;] ? ptlrpc_wait_event+0x98/0x330 [ptlrpc]
[ 3440.828815]  [&amp;lt;ffffffffa0cbc3d0&amp;gt;] ptlrpc_main+0xc00/0x1f60 [ptlrpc]
[ 3440.830489]  [&amp;lt;ffffffff81013588&amp;gt;] ? __switch_to+0xf8/0x4b0
[ 3440.832008]  [&amp;lt;ffffffffa0cbb7d0&amp;gt;] ? ptlrpc_register_service+0x1070/0x1070 [ptlrpc]
[ 3440.833556]  [&amp;lt;ffffffff810a5b8f&amp;gt;] kthread+0xcf/0xe0
[ 3440.835122]  [&amp;lt;ffffffff810a5ac0&amp;gt;] ? kthread_create_on_node+0x140/0x140
[ 3440.836661]  [&amp;lt;ffffffff81646b98&amp;gt;] ret_from_fork+0x58/0x90
[ 3440.838211]  [&amp;lt;ffffffff810a5ac0&amp;gt;] ? kthread_create_on_node+0x140/0x140
[ 3440.839636] Code: 00 e9 3c ff ff ff 0f 1f 80 00 00 00 00 49 83 c5 48 e9 0b ff ff ff 0f 1f 80 00 00 00 00 41 83 45 18 01 49 83 c5 28 e9 f6 fe ff ff &amp;lt;0f&amp;gt; 0b 0f 0b e8 91 07 07 e0 48 85 c0 0f 84 66 fe ff ff 0f 0b 0f 
[ 3440.842717] RIP  [&amp;lt;ffffffffa100a8b6&amp;gt;] __jbd2_journal_file_buffer+0x206/0x220 [jbd2]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;or &quot;Soft lockups&quot; with threads being stuck waiting for j_list_lock spin-lock.&lt;/p&gt;

&lt;p&gt;The kernel BUG is at:&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;   2228 /*
   2229  * File a buffer on the given transaction list.
   2230  */
   2231 void __jbd2_journal_file_buffer(struct journal_head *jh,
   2232                         transaction_t *transaction, int jlist)
   2233 {
   2234         struct journal_head **list = NULL;
   2235         int was_dirty = 0;
   2236         struct buffer_head *bh = jh2bh(jh);
   2237 
   2238         J_ASSERT_JH(jh, jbd_is_locked_bh_state(bh));
   2239         assert_spin_locked(&amp;amp;transaction-&amp;gt;t_journal-&amp;gt;j_list_lock); &amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This problem has been introduced by an earlier upstream kernel commit v3.14-rc2-30-g6e4862a &quot;jbd2: minimize region locked by j_list_lock in journal_get_create_access()&quot;, where j_list_lock could be unlocked even if not held.&lt;/p&gt;</description>
                <environment></environment>
        <key id="40381">LU-8685</key>
            <summary>Fix JBD2 issue in EL7 Kernels</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="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="bfaccini">Bruno Faccini</assignee>
                                    <reporter username="bfaccini">Bruno Faccini</reporter>
                        <labels>
                    </labels>
                <created>Mon, 10 Oct 2016 08:49:32 +0000</created>
                <updated>Wed, 5 Aug 2020 21:05:58 +0000</updated>
                            <resolved>Tue, 25 Oct 2016 04:15:14 +0000</resolved>
                                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>14</watches>
                                                                            <comments>
                            <comment id="168913" author="gerrit" created="Mon, 10 Oct 2016 13:12:02 +0000"  >&lt;p&gt;Faccini Bruno (bruno.faccini@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/23050&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/23050&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8685&quot; title=&quot;Fix JBD2 issue in EL7 Kernels&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8685&quot;&gt;&lt;del&gt;LU-8685&lt;/del&gt;&lt;/a&gt; kernel: jbd2: fix incorrect unlock on j_list_lock&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a12a0e28d5e693168a38850616179a40168f3496&lt;/p&gt;</comment>
                            <comment id="169393" author="adilger" created="Thu, 13 Oct 2016 03:56:37 +0000"  >&lt;p&gt;The patch has been accepted into upstream ext4 and will likely be in the 4.9 kernel, though I&apos;ve also flagged it for the stable kernels.&lt;/p&gt;</comment>
                            <comment id="170872" author="gerrit" created="Tue, 25 Oct 2016 02:24:03 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/23050/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/23050/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8685&quot; title=&quot;Fix JBD2 issue in EL7 Kernels&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8685&quot;&gt;&lt;del&gt;LU-8685&lt;/del&gt;&lt;/a&gt; kernel: jbd2: fix incorrect unlock on j_list_lock&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 77e28905d9bc508b668f0db701f7df55ff97a3d1&lt;/p&gt;</comment>
                            <comment id="170902" author="pjones" created="Tue, 25 Oct 2016 04:15:14 +0000"  >&lt;p&gt;Landed for 2.9&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10120">
                    <name>Blocker</name>
                                            <outwardlinks description="is blocking">
                                        <issuelink>
            <issuekey id="10111">LU-20</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="38453">LU-8445</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="37823">LU-8327</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|hzyqyv:</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>