<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:42:07 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-4370] lu_object.h:853:lu_object_attr()) ASSERTION( ((o)-&gt;lo_header-&gt;loh_attr &amp; LOHA_EXISTS) != 0 ) failed: </title>
                <link>https://jira.whamcloud.com/browse/LU-4370</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Running racer on a single node with MDSCOUNT=2 I see 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;crash&amp;gt; bt
PID: 6987   TASK: ffff8801ccbbe040  CPU: 1   COMMAND: &quot;mdt00_008&quot;
 #0 [ffff8801c619d808] machine_kexec at ffffffff81035d6b
 #1 [ffff8801c619d868] crash_kexec at ffffffff810c0e22
 #2 [ffff8801c619d938] panic at ffffffff8150f01f
 #3 [ffff8801c619d9b8] lbug_with_loc at ffffffffa02a9eeb [libcfs]
 #4 [ffff8801c619d9d8] mdt_getattr_internal at ffffffffa0ba07b4 [mdt]
 #5 [ffff8801c619da68] mdt_getattr_name_lock at ffffffffa0ba1bc6 [mdt]
 #6 [ffff8801c619db18] mdt_intent_getattr at ffffffffa0ba2883 [mdt]
 #7 [ffff8801c619db78] mdt_intent_policy at ffffffffa0b91979 [mdt]
 #8 [ffff8801c619dbd8] ldlm_lock_enqueue at ffffffffa062f509 [ptlrpc]
 #9 [ffff8801c619dc38] ldlm_handle_enqueue0 at ffffffffa0658c4f [ptlrpc]
#10 [ffff8801c619dca8] tgt_enqueue at ffffffffa06d2562 [ptlrpc]
#11 [ffff8801c619dcc8] tgt_handle_request0 at ffffffffa06d4f5a [ptlrpc]
#12 [ffff8801c619dd58] tgt_request_handle at ffffffffa06d653a [ptlrpc]
#13 [ffff8801c619dda8] ptlrpc_main at ffffffffa068a295 [ptlrpc]
#14 [ffff8801c619dee8] kthread at ffffffff81096a36
#15 [ffff8801c619df48] kernel_thread at ffffffff8100c0ca
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is from:&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;        if (info-&amp;gt;mti_cross_ref) {
                ...

                if (rc == 0) {
                        /* Finally, we can get attr for child. */
                        mdt_set_capainfo(info, 0, mdt_object_fid(child),
                                         BYPASS_CAPA);
                        rc = mdt_getattr_internal(info, child, 0);
                        if (unlikely(rc != 0))
                                mdt_object_unlock(info, child, lhc, 1);
                }
                RETURN(rc);
        }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Above we are checking that parent (which is really child) exists but only if lname is non-NULL.&lt;/p&gt;

&lt;p&gt;There are several more assertions in mdt_getattr_name_lock(), mdt_getattr_internal, and mdt_raw_lookup() which just depend on the politeness of clients. These should be collected and replaced with error handling.&lt;/p&gt;</description>
                <environment></environment>
        <key id="22408">LU-4370</key>
            <summary>lu_object.h:853:lu_object_attr()) ASSERTION( ((o)-&gt;lo_header-&gt;loh_attr &amp; LOHA_EXISTS) != 0 ) failed: </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="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="di.wang">Di Wang</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>dne</label>
                            <label>mdt</label>
                    </labels>
                <created>Mon, 9 Dec 2013 22:45:39 +0000</created>
                <updated>Tue, 7 Jan 2014 00:08:35 +0000</updated>
                            <resolved>Tue, 7 Jan 2014 00:08:28 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="73160" author="pjones" created="Tue, 10 Dec 2013 00:05:07 +0000"  >&lt;p&gt;Di&lt;/p&gt;

&lt;p&gt;Could you please look into this one?&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="73177" author="di.wang" created="Tue, 10 Dec 2013 07:49:46 +0000"  >&lt;p&gt;John, could you please tell me which line hit this Assertion failed.  I also tried racer with MDSCOUNT=2, but it can pass for me with these 2 patches&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/8370/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8370/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/#/c/8371/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8371/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;probably you can try with these 2 patches, if you are interested. Thanks&lt;/p&gt;</comment>
                            <comment id="73209" author="jhammond" created="Tue, 10 Dec 2013 17:34:50 +0000"  >&lt;p&gt;Di,&lt;/p&gt;

&lt;p&gt;It&apos;s from the lu_object_attr() call in mdt_getattr_internal(). Change 8371 will address this. &lt;/p&gt;</comment>
                            <comment id="74447" author="jhammond" created="Tue, 7 Jan 2014 00:08:28 +0000"  >&lt;p&gt;Fixed by  &lt;a href=&quot;http://review.whamcloud.com/#/c/8371/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/8371/&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                    <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|hzwb2f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>11968</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>