<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:06:23 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-7145] mdd_object_type() uses need audit</title>
                <link>https://jira.whamcloud.com/browse/LU-7145</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;&lt;tt&gt;mdd_object_type()&lt;/tt&gt; calls &lt;tt&gt;lu_object_attr()&lt;/tt&gt; and hence it asserts that the object exists. We need to audit the callers to ensure that a non-existing object is not passed. For example in &lt;tt&gt;mdd_migrate_entries()&lt;/tt&gt; we have:&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;                child = mdd_object_find(env, mdd, &amp;amp;ent-&amp;gt;lde_fid);
                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (IS_ERR(child))
			GOTO(out, rc = PTR_ERR(child));

                mdd_write_lock(env, child, MOR_SRC_CHILD);
                is_dir = S_ISDIR(mdd_object_type(child));
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="32077">LU-7145</key>
            <summary>mdd_object_type() uses need audit</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="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                    </labels>
                <created>Fri, 11 Sep 2015 19:48:37 +0000</created>
                <updated>Tue, 30 Mar 2021 18:47:18 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="129698" author="jhammond" created="Wed, 7 Oct 2015 16:06:15 +0000"  >&lt;p&gt;Running racer.sh with MDSCOUNT=4 on 2.6.71.&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;[  441.561094] LustreError: 8066:0:(lu_object.h:862:lu_object_attr()) ASSERTION( ((o)-&amp;gt;lo_header-&amp;gt;loh_attr &amp;amp; LOHA_EXISTS) != 0 ) failed: 
[  441.563294] LustreError: 8066:0:(lu_object.h:862:lu_object_attr()) LBUG
[  441.564427] Pid: 8066, comm: mdt01_006
[  441.565056] 
[  441.565057] Call Trace:
[  441.565813]  [&amp;lt;ffffffffa08ed8b5&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
[  441.567020]  [&amp;lt;ffffffffa08edeb7&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
[  441.568106]  [&amp;lt;ffffffffa12e0001&amp;gt;] mdd_is_parent+0x6c1/0x730 [mdd]
[  441.569126]  [&amp;lt;ffffffffa125d9d8&amp;gt;] ? osd_attr_get+0x128/0x170 [osd_ldiskfs]
[  441.570286]  [&amp;lt;ffffffffa12e2049&amp;gt;] mdd_is_subdir+0x1c9/0x270 [mdd]
[  441.571329]  [&amp;lt;ffffffffa1343fad&amp;gt;] mdt_is_subdir+0xcd/0x350 [mdt]
[  441.572359]  [&amp;lt;ffffffffa1345115&amp;gt;] mdt_reint_rename_internal+0xee5/0x1a30 [mdt]
[  441.573570]  [&amp;lt;ffffffffa08ffe2e&amp;gt;] ? cfs_hash_spin_unlock+0xe/0x10 [libcfs]
[  441.574739]  [&amp;lt;ffffffffa0a7f890&amp;gt;] ? lu_object_put+0x260/0x3b0 [obdclass]
[  441.575867]  [&amp;lt;ffffffffa1345e4e&amp;gt;] mdt_reint_rename_or_migrate+0x1ee/0x2710 [mdt]
[  441.577121]  [&amp;lt;ffffffffa0a964b9&amp;gt;] ? upcall_cache_get_entry+0x99/0x8a0 [obdclass]
[  441.578383]  [&amp;lt;ffffffff810c48be&amp;gt;] ? is_module_address+0xe/0x20
[  441.579376]  [&amp;lt;ffffffffa0a964b9&amp;gt;] ? upcall_cache_get_entry+0x99/0x8a0 [obdclass]
[  441.580605]  [&amp;lt;ffffffff8155639b&amp;gt;] ? _spin_unlock+0x2b/0x40
[  441.581557]  [&amp;lt;ffffffffa0a967e3&amp;gt;] ? upcall_cache_get_entry+0x3c3/0x8a0 [obdclass]
[  441.582814]  [&amp;lt;ffffffffa0a9b9b0&amp;gt;] ? lu_ucred+0x20/0x30 [obdclass]
[  441.583861]  [&amp;lt;ffffffffa1323255&amp;gt;] ? mdt_ucred+0x15/0x20 [mdt]
[  441.584835]  [&amp;lt;ffffffffa133c7dc&amp;gt;] ? mdt_root_squash+0x2c/0x3f0 [mdt]
[  441.585951]  [&amp;lt;ffffffffa0cca035&amp;gt;] ? __req_capsule_get+0x165/0x6f0 [ptlrpc]
[  441.587090]  [&amp;lt;ffffffff812aa88a&amp;gt;] ? strlcpy+0x4a/0x60
[  441.587949]  [&amp;lt;ffffffffa13483a3&amp;gt;] mdt_reint_rename+0x13/0x20 [mdt]
[  441.588984]  [&amp;lt;ffffffffa134092d&amp;gt;] mdt_reint_rec+0x5d/0x200 [mdt]
[  441.590017]  [&amp;lt;ffffffffa1329c83&amp;gt;] mdt_reint_internal+0x633/0xa50 [mdt]
[  441.591140]  [&amp;lt;ffffffffa132a53b&amp;gt;] mdt_reint+0x6b/0x120 [mdt]
[  441.592168]  [&amp;lt;ffffffffa0d0954f&amp;gt;] tgt_request_handle+0x8cf/0x1300 [ptlrpc]
[  441.593396]  [&amp;lt;ffffffffa0cb3c4a&amp;gt;] ptlrpc_main+0xdaa/0x18b0 [ptlrpc]
[  441.594510]  [&amp;lt;ffffffffa0cb2ea0&amp;gt;] ? ptlrpc_main+0x0/0x18b0 [ptlrpc]
[  441.595558]  [&amp;lt;ffffffff8109e856&amp;gt;] kthread+0x96/0xa0
[  441.596388]  [&amp;lt;ffffffff8100c30a&amp;gt;] child_rip+0xa/0x20
[  441.597220]  [&amp;lt;ffffffff815562e0&amp;gt;] ? _spin_unlock_irq+0x30/0x40
[  441.598204]  [&amp;lt;ffffffff8100bb10&amp;gt;] ? restore_args+0x0/0x30
[  441.599115]  [&amp;lt;ffffffff8109e7c0&amp;gt;] ? kthread+0x0/0xa0
[  441.599966]  [&amp;lt;ffffffff8100c300&amp;gt;] ? child_rip+0x0/0x20
[  441.600848] 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="31373">LU-6963</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="62969">LU-14457</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="33882">LU-7617</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </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|hzxnd3:</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>