<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:53:39 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-5687] several functions ignore the result of dt_declare_*()</title>
                <link>https://jira.whamcloud.com/browse/LU-5687</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Fault injection shows several instances where we ignore errors from declarations:&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;lctl set_param fail_err=-14
lctl set_param fail_val=1000
lctl set_param fail_loc=0x0800200d # OBD_FAIL_DT_DECLARE_DESTROY

Message from syslogd@t at Sep 30 10:43:10 ...
 kernel:[  141.688631] LustreError: 13800:0:(osd_internal.h:991:osd_trans_exec_op()) ASSERTION( oti-&amp;gt;oti_declare_ops_rb[rb] &amp;gt; 0 ) failed: rb = 3

Message from syslogd@t at Sep 30 10:43:10 ...
 kernel:[  141.690531] LustreError: 13800:0:(osd_internal.h:991:osd_trans_exec_op()) LBUG


crash&amp;gt; bt
PID: 13800  TASK: ffff8800d6346580  CPU: 0   COMMAND: &quot;ll_ost00_005&quot;
 #0 [ffff8800d92c7908] machine_kexec at ffffffff81039950
 #1 [ffff8800d92c7968] crash_kexec at ffffffff810d4372
 #2 [ffff8800d92c7a38] panic at ffffffff81550d83
 #3 [ffff8800d92c7ab8] lbug_with_loc at ffffffffa02bef1b [libcfs]
 #4 [ffff8800d92c7ad8] osd_trans_exec_op at ffffffffa0af196b [osd_ldiskfs]
 #5 [ffff8800d92c7af8] osd_object_destroy at ffffffffa0af9702 [osd_ldiskfs]
 #6 [ffff8800d92c7b58] ofd_object_destroy at ffffffffa0ddd17c [ofd]
 #7 [ffff8800d92c7ba8] ofd_destroy_by_fid at ffffffffa0dd838d [ofd]
 #8 [ffff8800d92c7ca8] ofd_destroy_hdl at ffffffffa0dd1c6a [ofd]
 #9 [ffff8800d92c7d18] tgt_request_handle at ffffffffa06e71be [ptlrpc]
#10 [ffff8800d92c7d78] ptlrpc_main at ffffffffa0697e47 [ptlrpc]
#11 [ffff8800d92c7eb8] kthread at ffffffff8109eab6
#12 [ffff8800d92c7f48] kernel_thread at ffffffff8100c30a
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;# git grep &apos;^[[:space:]]*dt_declare&apos;
lustre/lod/lod_object.c:                dt_declare_xattr_del(env, next, XATTR_NAME_LOV, h\
andle);
lustre/lod/lod_object.c:                dt_declare_xattr_set(env, next, buf, XATTR_NAME_L\
OV,
lustre/obdclass/llog_osd.c:     dt_declare_ref_del(env, o, th);
lustre/obdclass/local_storage.c:                dt_declare_ref_add(env, dto, th);
lustre/obdclass/local_storage.c:                dt_declare_ref_add(env, parent, th);
lustre/ofd/ofd_objects.c:       dt_declare_ref_del(env, ofd_object_child(fo), th);
lustre/ofd/ofd_objects.c:       dt_declare_destroy(env, ofd_object_child(fo), th);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="26784">LU-5687</key>
            <summary>several functions ignore the result of dt_declare_*()</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="jhammond">John Hammond</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>fault</label>
                            <label>ofd</label>
                    </labels>
                <created>Tue, 30 Sep 2014 15:55:54 +0000</created>
                <updated>Thu, 14 Jun 2018 21:41:37 +0000</updated>
                            <resolved>Thu, 18 Dec 2014 15:19:04 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="95319" author="jhammond" created="Tue, 30 Sep 2014 16:13:07 +0000"  >&lt;p&gt;Please see &lt;a href=&quot;http://review.whamcloud.com/12130&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12130&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="100633" author="gerrit" created="Thu, 4 Dec 2014 02:36:46 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/12130/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12130/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5687&quot; title=&quot;several functions ignore the result of dt_declare_*()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5687&quot;&gt;&lt;del&gt;LU-5687&lt;/del&gt;&lt;/a&gt; dt: propagate errors from failed declarations&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 3a490d8405ff73d6eaa14c291e14867b5ba01c87&lt;/p&gt;</comment>
                            <comment id="101951" author="jlevi" created="Thu, 18 Dec 2014 15:19:04 +0000"  >&lt;p&gt;Patch landed to Master.&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|hzwxfj:</customfieldvalue>

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