<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:36:36 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-10607] uninitialized spinlock in osd_zfs</title>
                <link>https://jira.whamcloud.com/browse/LU-10607</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I missed this originally, but looks like &lt;a href=&quot;https://review.whamcloud.com/#/c/30909/2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/30909/2&lt;/a&gt; introduced a regression into master.&lt;/p&gt;

&lt;p&gt;Every time I mount lustre on ZFS, I get this:&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;[   54.320874] ZFS: Loaded module v0.7.1-1, ZFS pool version 5000, ZFS filesystem version 5
[   82.005278] BUG: spinlock bad magic on CPU#1, mount.lustre/5874
[   82.007911]  lock: 0xffff88030066e688, .magic: 00000000, .owner: &amp;lt;none&amp;gt;/-1, .owner_cpu: 0
[   82.008146] CPU: 1 PID: 5874 Comm: mount.lustre Tainted: P           OE  ------------   3.10.0-debug #2
[   82.008381] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011
[   82.008526]  0000000000000000 00000000c03a9b87 ffff8800b00ff798 ffffffff816fd3e4
[   82.010041]  ffff8800b00ff7b8 ffffffff816fd472 ffff88030066e688 ffffffff81aa1a78
[   82.013275]  ffff8800b00ff7d8 ffffffff816fd498 ffff88030066e688 0000000000000001
[   82.014974] Call Trace:
[   82.015815]  [&amp;lt;ffffffff816fd3e4&amp;gt;] dump_stack+0x19/0x1b
[   82.016589]  [&amp;lt;ffffffff816fd472&amp;gt;] spin_dump+0x8c/0x91
[   82.017340]  [&amp;lt;ffffffff816fd498&amp;gt;] spin_bug+0x21/0x26
[   82.018086]  [&amp;lt;ffffffff8138ec10&amp;gt;] do_raw_spin_lock+0x130/0x150
[   82.018858]  [&amp;lt;ffffffff81706249&amp;gt;] _raw_spin_lock+0x49/0x50
[   82.019714]  [&amp;lt;ffffffffa032ebf7&amp;gt;] ? lprocfs_oh_tally+0x17/0x40 [obdclass]
[   82.032661]  [&amp;lt;ffffffffa032ebf7&amp;gt;] lprocfs_oh_tally+0x17/0x40 [obdclass]
[   82.036879]  [&amp;lt;ffffffffa113781b&amp;gt;] record_start_io.part.13+0x2b/0x40 [osd_zfs]
[   82.037792]  [&amp;lt;ffffffffa1137f1d&amp;gt;] osd_read+0xfd/0x2b0 [osd_zfs]
[   82.038385]  [&amp;lt;ffffffffa0356244&amp;gt;] dt_read+0x14/0x50 [obdclass]
[   82.039012]  [&amp;lt;ffffffffa037a52f&amp;gt;] scrub_file_load+0x4f/0x410 [obdclass]
[   82.039792]  [&amp;lt;ffffffffa115290a&amp;gt;] osd_scrub_setup+0x3ea/0xb50 [osd_zfs]
[   82.040618]  [&amp;lt;ffffffffa112c26a&amp;gt;] osd_mount+0xdfa/0x1170 [osd_zfs]
[   82.041425]  [&amp;lt;ffffffff81706717&amp;gt;] ? _raw_read_unlock+0x27/0x40
[   82.042127]  [&amp;lt;ffffffffa112cc1d&amp;gt;] osd_device_alloc+0x34d/0x400 [osd_zfs]
[   82.043068]  [&amp;lt;ffffffffa0341084&amp;gt;] obd_setup+0x114/0x2a0 [obdclass]
[   82.043668]  [&amp;lt;ffffffffa03414b6&amp;gt;] class_setup+0x2a6/0x840 [obdclass]
[   82.044592]  [&amp;lt;ffffffffa0345032&amp;gt;] class_process_config+0x1b62/0x28a0 [obdclass]
[   82.046302]  [&amp;lt;ffffffff811cd4f9&amp;gt;] ? __kmalloc+0x649/0x660
[   82.047316]  [&amp;lt;ffffffffa01f3f47&amp;gt;] ? libcfs_debug_msg+0x57/0x80 [libcfs]
[   82.048126]  [&amp;lt;ffffffffa0348ae8&amp;gt;] do_lcfg+0x258/0x4b0 [obdclass]
[   82.048907]  [&amp;lt;ffffffffa034cb48&amp;gt;] lustre_start_simple+0x88/0x210 [obdclass]
[   82.049714]  [&amp;lt;ffffffffa0379154&amp;gt;] server_fill_super+0xf34/0x1860 [obdclass]
[   82.050487]  [&amp;lt;ffffffffa01f3f47&amp;gt;] ? libcfs_debug_msg+0x57/0x80 [libcfs]
[   82.062653]  [&amp;lt;ffffffffa0350680&amp;gt;] lustre_fill_super+0x3d0/0x8b0 [obdclass]
[   82.063465]  [&amp;lt;ffffffffa03502b0&amp;gt;] ? lustre_common_put_super+0xb50/0xb50 [obdclass]
[   82.065632]  [&amp;lt;ffffffff811f0ebd&amp;gt;] mount_nodev+0x4d/0xb0
[   82.069485]  [&amp;lt;ffffffffa0348818&amp;gt;] lustre_mount+0x38/0x60 [obdclass]
[   82.070379]  [&amp;lt;ffffffff811f1899&amp;gt;] mount_fs+0x39/0x1b0
[   82.071309]  [&amp;lt;ffffffff8120e843&amp;gt;] vfs_kern_mount+0x63/0xf0
[   82.072876]  [&amp;lt;ffffffff81210ebe&amp;gt;] do_mount+0x24e/0xa40
[   82.073642]  [&amp;lt;ffffffff811767fe&amp;gt;] ? __get_free_pages+0xe/0x50
[   82.074377]  [&amp;lt;ffffffff81211746&amp;gt;] SyS_mount+0x96/0xf0
[   82.075246]  [&amp;lt;ffffffff8170fc49&amp;gt;] system_call_fastpath+0x16/0x1b
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="50589">LU-10607</key>
            <summary>uninitialized spinlock in osd_zfs</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="yong.fan">nasf</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Tue, 6 Feb 2018 00:38:05 +0000</created>
                <updated>Sat, 9 May 2020 13:13:08 +0000</updated>
                            <resolved>Tue, 6 Mar 2018 21:17:21 +0000</resolved>
                                                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="220087" author="pjones" created="Tue, 6 Feb 2018 05:04:55 +0000"  >&lt;p&gt;Fan Yong&lt;/p&gt;

&lt;p&gt;Can you please advise&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="220111" author="gerrit" created="Tue, 6 Feb 2018 08:01:01 +0000"  >&lt;p&gt;Fan Yong (fan.yong@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/31180&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31180&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10607&quot; title=&quot;uninitialized spinlock in osd_zfs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10607&quot;&gt;&lt;del&gt;LU-10607&lt;/del&gt;&lt;/a&gt; osd-zfs: skip io stat before lproc initialized&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a6096058f1ed4af0b246babba9166978c0a6d9b9&lt;/p&gt;</comment>
                            <comment id="222610" author="gerrit" created="Tue, 6 Mar 2018 19:14:56 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/31180/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31180/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10607&quot; title=&quot;uninitialized spinlock in osd_zfs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10607&quot;&gt;&lt;del&gt;LU-10607&lt;/del&gt;&lt;/a&gt; osd-zfs: skip io stat for OI scrub&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 763c07c431b2ae0a91f4caccf3a4ce86fbc67243&lt;/p&gt;</comment>
                            <comment id="222639" author="pjones" created="Tue, 6 Mar 2018 21:17:21 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                            <comment id="258921" author="panda" created="Wed, 27 Nov 2019 16:40:44 +0000"  >&lt;p&gt;This fix seems incomplete. Lustre will still crash a little further with this fix with the same root cause (incomplete osd stats initialization):&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;
[ 5696.621248]  [&amp;lt;ffffffffc169719b&amp;gt;] record_start_io.part.14+0x2b/0x40 [osd_zfs]
[ 5696.623630]  [&amp;lt;ffffffffc1698322&amp;gt;] osd_read+0xa2/0x180 [osd_zfs]
[ 5696.625807]  [&amp;lt;ffffffffc1167dee&amp;gt;] dt_record_read+0x1e/0x70 [obdclass]
[ 5696.628063]  [&amp;lt;ffffffffc1190997&amp;gt;] lustre_index_restore+0x527/0x1720 [obdclass]
[ 5696.637015]  [&amp;lt;ffffffffc16b2564&amp;gt;] osd_initial_OI_scrub+0xa34/0xd50 [osd_zfs]
[ 5696.639357]  [&amp;lt;ffffffffc16b34fd&amp;gt;] osd_scrub_setup+0x9ed/0xb90 [osd_zfs]
[ 5696.641585]  [&amp;lt;ffffffffc168a97b&amp;gt;] osd_mount+0xf4b/0x1380 [osd_zfs]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="50712">LU-10642</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="59126">LU-13542</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|hzzs7j:</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>