<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:02:31 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-6705] MDT hung at umount under DNE mode</title>
                <link>https://jira.whamcloud.com/browse/LU-6705</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;It can be reproduced via the following steps:&lt;br/&gt;
1) create some files cross multiple MDTs.&lt;br/&gt;
2) umount the MDTs&lt;br/&gt;
3) mount the MDTs&lt;br/&gt;
4) umount the MDTs&lt;br/&gt;
5) mount the MDTs&lt;br/&gt;
6) umount the MDTs&lt;/p&gt;

&lt;p&gt;Then hung at the last umount.&lt;/p&gt;</description>
                <environment></environment>
        <key id="30581">LU-6705</key>
            <summary>MDT hung at umount under DNE mode</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="di.wang">Di Wang</assignee>
                                    <reporter username="yong.fan">nasf</reporter>
                        <labels>
                    </labels>
                <created>Wed, 10 Jun 2015 08:18:13 +0000</created>
                <updated>Tue, 14 Jul 2015 22:55:31 +0000</updated>
                            <resolved>Tue, 14 Jul 2015 22:55:31 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="118015" author="di.wang" created="Wed, 10 Jun 2015 08:34:18 +0000"  >&lt;p&gt;Just discussed with Fan Yong, it seems umount thread is blocked because it can not stop the recovery update thread. And the recovery update thread is trying to retrieve the update records from the remote MDT. and that MDT has been shutdown.&lt;/p&gt;

&lt;p&gt;update recovery thread&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;[&amp;lt;ffffffffa0526c18&amp;gt;] ? ptlrpc_set_wait+0x188/0x900 [ptlrpc]
 [&amp;lt;ffffffffa051c5b0&amp;gt;] ? ptlrpc_interrupted_set+0x0/0x110 [ptlrpc]
 [&amp;lt;ffffffffa051da74&amp;gt;] ? ptlrpc_request_pack+0x24/0x70 [ptlrpc]
 [&amp;lt;ffffffffa0527411&amp;gt;] ? ptlrpc_queue_wait+0x81/0x220 [ptlrpc]
 [&amp;lt;ffffffffa073655b&amp;gt;] ? fld_client_rpc+0x15b/0x510 [fld]
 [&amp;lt;ffffffffa073c42e&amp;gt;] ? fld_server_lookup+0x14e/0x330 [fld]
 [&amp;lt;ffffffffa0c804ff&amp;gt;] ? lod_fld_lookup+0x34f/0x520 [lod]
 [&amp;lt;ffffffff8116fef2&amp;gt;] ? kmem_cache_alloc+0x182/0x190
 [&amp;lt;ffffffffa0c958e3&amp;gt;] ? lod_object_init+0x103/0x3c0 [lod]
 [&amp;lt;ffffffffa1294298&amp;gt;] ? lu_object_alloc+0xd8/0x320 [obdclass]
 [&amp;lt;ffffffffa12957a1&amp;gt;] ? lu_object_find_try+0x151/0x260 [obdclass]
 [&amp;lt;ffffffffa1295961&amp;gt;] ? lu_object_find_at+0xb1/0xe0 [obdclass]
 [&amp;lt;ffffffffa0d06fc2&amp;gt;] ? dt_update_request_destroy+0x1c2/0x270 [osp]
 [&amp;lt;ffffffffa1296ebc&amp;gt;] ? dt_locate_at+0x1c/0xa0 [obdclass]
 [&amp;lt;ffffffffa125346f&amp;gt;] ? llog_osd_open+0xdf/0xde0 [obdclass]
 [&amp;lt;ffffffffa124a375&amp;gt;] ? llog_open+0x145/0x470 [obdclass]
 [&amp;lt;ffffffffa0caa82e&amp;gt;] ? lod_sub_prep_llog+0x19e/0x7a0 [lod]
 [&amp;lt;ffffffffa0c8088e&amp;gt;] ? lod_sub_recovery_thread+0x1be/0x980 [lod]
 [&amp;lt;ffffffff81061c62&amp;gt;] ? default_wake_function+0x12/0x20
 [&amp;lt;ffffffffa0c806d0&amp;gt;] ? lod_sub_recovery_thread+0x0/0x980 [lod]
 [&amp;lt;ffffffff8109ab46&amp;gt;] ? kthread+0x96/0xa0
 [&amp;lt;ffffffff8100c20a&amp;gt;] ? child_rip+0xa/0x20
 [&amp;lt;ffffffff8109aab0&amp;gt;] ? kthread+0x0/0xa0
 [&amp;lt;ffffffff8100c200&amp;gt;] ? child_rip+0x0/0x20
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So we need to stop the recovery thread during umount, &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;static void mdt_fini()
{
.....
       target_recovery_fini(obd);
        ping_evictor_stop();
        mdt_stack_pre_fini(env, m, md2lu_dev(m-&amp;gt;mdt_child));
......
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Simply, if we move mdt_stack_pre_fini before target_recovery_fini, the problem should go away, but that will cause other problem. &lt;/p&gt;</comment>
                            <comment id="118175" author="gerrit" created="Thu, 11 Jun 2015 07:11:40 +0000"  >&lt;p&gt;wangdi (di.wang@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/15210&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15210&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6705&quot; title=&quot;MDT hung at umount under DNE mode&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6705&quot;&gt;&lt;del&gt;LU-6705&lt;/del&gt;&lt;/a&gt; lod: re-order lodsub recovery cleanup&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: eee8fdfd69dc66e4224507ce9284022f3a1758a9&lt;/p&gt;</comment>
                            <comment id="120732" author="gerrit" created="Wed, 8 Jul 2015 17:30:41 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/15210/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15210/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6705&quot; title=&quot;MDT hung at umount under DNE mode&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6705&quot;&gt;&lt;del&gt;LU-6705&lt;/del&gt;&lt;/a&gt; lod: re-order lodsub recovery cleanup&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8299bdd484ad44d3ed25dcc68e8440242c155c80&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="30643">LU-6720</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|hzxfdb:</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>