<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:42:12 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-11243]  Assertion and hang upon lod_add_device failure</title>
                <link>https://jira.whamcloud.com/browse/LU-11243</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt; See following assertion:&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;    (lod_lov.c:361:lod_add_device()) lustre-OSTe42a-osc-MDT0000: can&apos;t set up pool, failed with -12
    10059:0:(osp_dev.c:473:osp_disconnect()) ASSERTION( imp != ((void *)0) ) failed:
    10059:0:(osp_dev.c:473:osp_disconnect()) LBUG
    CPU: 1 PID: 10059 Comm: llog_process_th Kdump: loaded Tainted: G
    
    Problem is obd_disconnect() will cleanup @imp and set NULL.
    |-&amp;gt;osp_obd_disconnect
        |-&amp;gt;class_manual_cleanup
           |-&amp;gt;class_process_config
                 |-&amp;gt;class_cleanup
                      |-&amp;gt;obd_precleanup
                            |-&amp;gt;osp_device_fini
                                  |-&amp;gt;client_obd_cleanup
    
    While ldo_process_config() will try to access @imp again:
    |-&amp;gt;ldo_process_config
      |-&amp;gt;osp_shutdown
       |-&amp;gt;osp_disconnect
         LASSERT(imp != NULL) ---&amp;gt;fail here
    
    Another problem is if we failed before obd_connect().
    we will hang on with mount:
    |-&amp;gt;ldo_process_config
      |-&amp;gt;osp_shutdown
       |-&amp;gt;osp_disconnect
        |-&amp;gt;ptlrpc_disconnect_import
         |-&amp;gt;rc = l_wait_event(imp-&amp;gt;imp_recovery_waitq,
                !ptlrpc_import_in_recovery(imp), &amp;amp;lwi);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;    Since connect is not called, imp state will keep DISCONN.&lt;/p&gt;</description>
                <environment></environment>
        <key id="52963">LU-11243</key>
            <summary> Assertion and hang upon lod_add_device failure</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="wshilong">Wang Shilong</assignee>
                                    <reporter username="wshilong">Wang Shilong</reporter>
                        <labels>
                    </labels>
                <created>Tue, 14 Aug 2018 02:48:10 +0000</created>
                <updated>Mon, 1 Apr 2019 14:12:47 +0000</updated>
                            <resolved>Fri, 8 Mar 2019 22:20:25 +0000</resolved>
                                    <version>Lustre 2.12.0</version>
                    <version>Lustre 2.10.5</version>
                                    <fixVersion>Lustre 2.13.0</fixVersion>
                    <fixVersion>Lustre 2.12.1</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="231904" author="gerrit" created="Tue, 14 Aug 2018 02:50:04 +0000"  >&lt;p&gt;Wang Shilong (wshilong@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/32994&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32994&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11243&quot; title=&quot; Assertion and hang upon lod_add_device failure&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11243&quot;&gt;&lt;del&gt;LU-11243&lt;/del&gt;&lt;/a&gt; lod: fix assertion and hang upon lod_add_device failure&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b5d19865a70f46890ce488d4950384001f48cbfb&lt;/p&gt;</comment>
                            <comment id="243568" author="gerrit" created="Fri, 8 Mar 2019 21:48:32 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/32994/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32994/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11243&quot; title=&quot; Assertion and hang upon lod_add_device failure&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11243&quot;&gt;&lt;del&gt;LU-11243&lt;/del&gt;&lt;/a&gt; lod: fix assertion and hang upon lod_add_device failure&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f28353b3d810cfbec018a263556ceac84ab9413e&lt;/p&gt;</comment>
                            <comment id="243575" author="pjones" created="Fri, 8 Mar 2019 22:20:25 +0000"  >&lt;p&gt;Landed for 2.13&lt;/p&gt;</comment>
                            <comment id="244238" author="gerrit" created="Tue, 19 Mar 2019 17:00:00 +0000"  >&lt;p&gt;Minh Diep (mdiep@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/34450&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34450&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11243&quot; title=&quot; Assertion and hang upon lod_add_device failure&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11243&quot;&gt;&lt;del&gt;LU-11243&lt;/del&gt;&lt;/a&gt; lod: fix assertion and hang upon lod_add_device failure&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 494bd1a49962b701dbcd0e0aa6c2fa53f4aabc6c&lt;/p&gt;</comment>
                            <comment id="244978" author="gerrit" created="Mon, 1 Apr 2019 06:19:34 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/34450/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34450/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11243&quot; title=&quot; Assertion and hang upon lod_add_device failure&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11243&quot;&gt;&lt;del&gt;LU-11243&lt;/del&gt;&lt;/a&gt; lod: fix assertion and hang upon lod_add_device failure&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 6c13ed6decc680092d3610518dc30aba40c83563&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <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|i000o7:</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>