<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:21: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-15832] race between dt_try_as_dir() and lod_striping_free_nolock()</title>
                <link>https://jira.whamcloud.com/browse/LU-15832</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In lod_striping_free_nolock(), if object is directory, its striping is freed, but .ldo_index_ops is not cleared, if a subsequent dt_try_as_dir() is called on this object, the .ldo_index_ops will be called, while its striping is not initialized yet, which may cause crash.&lt;/p&gt;

&lt;p&gt;MDT0000 crashed with the following LBUG:&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;LustreError: 18825:0:(mdt_xattr.c:421:mdt_dir_layout_shrink()) fs-MDT0000: [0x20002c3a3:0x47:0x0] migrate mdt index mismatch 0 != 4294967295
LustreError: 18825:0:(mdt_xattr.c:421:mdt_dir_layout_shrink()) fs-MDT0000: [0x20002c3a3:0x69:0x0] migrate mdt index mismatch 0 != 4294967295
LustreError: 18825:0:(mdt_xattr.c:421:mdt_dir_layout_shrink()) Skipped 26 previous similar messages
LustreError: 18832:0:(mdt_xattr.c:421:mdt_dir_layout_shrink()) fs-MDT0000: [0x20002c3a3:0xb3:0x0] migrate mdt index mismatch 0 != 4294967295
LustreError: 18832:0:(mdt_xattr.c:421:mdt_dir_layout_shrink()) Skipped 47 previous similar messages
LustreError: 18839:0:(mdd_dir.c:4521:mdd_migrate()) fs-MDD0000: &apos;chrne&apos; migration was interrupted, run &apos;lfs migrate -m 0 -c 3 -H 2 j4675&apos; to finish migration.
LustreError: 18828:0:(lod_object.c:383:lod_striped_lookup()) ASSERTION( lo-&amp;gt;ldo_dir_stripe_count &amp;gt; 0 ) failed:
LustreError: 18828:0:(lod_object.c:383:lod_striped_lookup()) LBUG
Kernel panic - not syncing: LBUG
 CPU: 5 PID: 18828 Comm: mdt01_007  3.10.0-1160.49.1.el7_lustre.x86_64 #1
 Call Trace:
 dump_stack+0x19/0x1b
 panic+0xe8/0x21f
 lbug_with_loc+0x9b/0xa0 [libcfs]
 lod_striped_lookup+0x2ba/0x2f0 [lod]
 __mdd_lookup.isra.17+0x298/0x440 [mdd]
 mdd_lookup+0xaf/0x170 [mdd]
 mdt_getattr_name_lock+0x1353/0x21e0 [mdt]
 mdt_getattr_name+0xc4/0x2b0 [mdt]
 tgt_request_handle+0xaee/0x15f0 [ptlrpc]
 ptlrpc_server_handle_request+0x24b/0xab0 [ptlrpc]
 ptlrpc_main+0xb34/0x1470 [ptlrpc]
 kthread+0xd1/0xe0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="70197">LU-15832</key>
            <summary>race between dt_try_as_dir() and lod_striping_free_nolock()</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="laisiyao">Lai Siyao</assignee>
                                    <reporter username="laisiyao">Lai Siyao</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 May 2022 09:16:22 +0000</created>
                <updated>Wed, 22 Jun 2022 00:14:32 +0000</updated>
                            <resolved>Sun, 5 Jun 2022 03:47:55 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="334124" author="gerrit" created="Mon, 9 May 2022 09:24:53 +0000"  >&lt;p&gt;&quot;Lai Siyao &amp;lt;lai.siyao@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47256&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47256&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15832&quot; title=&quot;race between dt_try_as_dir() and lod_striping_free_nolock()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15832&quot;&gt;&lt;del&gt;LU-15832&lt;/del&gt;&lt;/a&gt; lod: clear .do_index_ops in striping free&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b3780858b0f851a8ac82d4c46525f515d6d91a37&lt;/p&gt;</comment>
                            <comment id="336750" author="gerrit" created="Sat, 4 Jun 2022 16:07:01 +0000"  >&lt;p&gt;&quot;Andreas Dilger &amp;lt;adilger@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/47256/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47256/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15832&quot; title=&quot;race between dt_try_as_dir() and lod_striping_free_nolock()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15832&quot;&gt;&lt;del&gt;LU-15832&lt;/del&gt;&lt;/a&gt; lod: clear .do_index_ops in striping free&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 3d4ff484002bf6e29655503994c240da06f838e3&lt;/p&gt;</comment>
                            <comment id="336758" author="pjones" created="Sun, 5 Jun 2022 03:47:55 +0000"  >&lt;p&gt;Landed for 2.16&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|i02pbj:</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>