<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:05:41 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-7064] llog_cancel_rec() does not detect errors from llog_declare_destroy()</title>
                <link>https://jira.whamcloud.com/browse/LU-7064</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In &lt;tt&gt;llog_cancel_rec()&lt;/tt&gt; the return values of &lt;tt&gt;llog_declare_destroy()&lt;/tt&gt; and &lt;tt&gt;llog_write_rec()&lt;/tt&gt; are never used:&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;        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ((llh-&amp;gt;llh_flags &amp;amp; LLOG_F_ZAP_WHEN_EMPTY))
                rc = llog_declare_destroy(env, loghandle, th);

        th-&amp;gt;th_wait_submit = 1;
        rc = dt_trans_start_local(env, dt, th);
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (rc &amp;lt; 0)
                GOTO(out_trans, rc);

...

        rc = llog_write_rec(env, loghandle, &amp;amp;llh-&amp;gt;llh_hdr, NULL,
                            LLOG_HEADER_IDX, th);
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (rc == 0)
                loghandle-&amp;gt;lgh_hdr-&amp;gt;llh_count--;
        &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt;
                ext2_set_bit(index, LLOG_HDR_BITMAP(llh));

        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; ((llh-&amp;gt;llh_flags &amp;amp; LLOG_F_ZAP_WHEN_EMPTY) &amp;amp;&amp;amp;
            (llh-&amp;gt;llh_count == 1) &amp;amp;&amp;amp;
            (loghandle-&amp;gt;lgh_last_idx == LLOG_HDR_BITMAP_SIZE(llh) - 1)) {
                rc = llog_trans_destroy(env, loghandle, th);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="31811">LU-7064</key>
            <summary>llog_cancel_rec() does not detect errors from llog_declare_destroy()</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="wc-triage">WC Triage</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>easy</label>
                            <label>patch</label>
                    </labels>
                <created>Mon, 31 Aug 2015 18:47:41 +0000</created>
                <updated>Thu, 2 Jun 2016 11:47:30 +0000</updated>
                            <resolved>Thu, 2 Jun 2016 11:47:30 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="138921" author="gerrit" created="Thu, 14 Jan 2016 15:44:28 +0000"  >&lt;p&gt;Parinay Kondekar (parinay.kondekar@seagate.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/17999&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17999&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7064&quot; title=&quot;llog_cancel_rec() does not detect errors from llog_declare_destroy()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7064&quot;&gt;&lt;del&gt;LU-7064&lt;/del&gt;&lt;/a&gt; detect errors from llog_declare_destroy()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 8151a65b2d3b047e440fffe049221faa3df38423&lt;/p&gt;</comment>
                            <comment id="138923" author="parinay" created="Thu, 14 Jan 2016 15:45:56 +0000"  >&lt;p&gt;git hash 339e9adc - &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6968&quot; title=&quot;Update the whole header in llog_cancel_rec()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6968&quot;&gt;&lt;del&gt;LU-6968&lt;/del&gt;&lt;/a&gt; takes care of return value from llog_write_rec() .&lt;/p&gt;
</comment>
                            <comment id="154383" author="gerrit" created="Thu, 2 Jun 2016 04:42:02 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/17999/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17999/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7064&quot; title=&quot;llog_cancel_rec() does not detect errors from llog_declare_destroy()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7064&quot;&gt;&lt;del&gt;LU-7064&lt;/del&gt;&lt;/a&gt; obd: detect errors from llog_declare_destroy()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 5d9275e2784942266f2c9cd03f9ad2f17fba0af4&lt;/p&gt;</comment>
                            <comment id="154412" author="pjones" created="Thu, 2 Jun 2016 11:47:30 +0000"  >&lt;p&gt;Landed for 2.9&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|hzxltr:</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>