<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:15:24 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-1298] lustre needs to be built with #undef LIBCFS_DEBUG occasionally</title>
                <link>https://jira.whamcloud.com/browse/LU-1298</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When LIBCFS_DEBUG is not defined, neither will be ldlm_lock_debug.&lt;br/&gt;
Unclear when this was introduced.  2008 seems like long ago.&lt;/p&gt;

&lt;p&gt;#ifdef LIBCFS_DEBUG&lt;br/&gt;
#define ldlm_lock_debug(msgdata, mask, cdls, lock, fmt, a...) do {&lt;span class=&quot;error&quot;&gt;&amp;#91;...&amp;#93;&lt;/span&gt;&lt;br/&gt;
#else /* !LIBCFS_DEBUG */&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;define LDLM_DEBUG(lock, fmt, a...) ((void)0)&lt;/li&gt;
	&lt;li&gt;define LDLM_ERROR(lock, fmt, a...) ((void)0)&lt;/li&gt;
	&lt;li&gt;define ldlm_lock_debuf(cdls, level, lock, file, func, line, fmt, a...) \&lt;br/&gt;
         ((void)0)&lt;br/&gt;
#endif&lt;/li&gt;
&lt;/ol&gt;



&lt;p&gt;10beeaac (nikita            2008-10-18 15:13:21 +0000  927) # define ldlm_lock_debuf(cdls, level, lock, file, func, line, fmt, a...) \&lt;br/&gt;
10beeaac (nikita            2008-10-18 15:13:21 +0000  928)          ((void)0)&lt;/p&gt;</description>
                <environment>Build.  </environment>
        <key id="13927">LU-1298</key>
            <summary>lustre needs to be built with #undef LIBCFS_DEBUG occasionally</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="4">Incomplete</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="bkorb">Bruce Korb</reporter>
                        <labels>
                    </labels>
                <created>Tue, 10 Apr 2012 12:51:54 +0000</created>
                <updated>Wed, 6 Nov 2013 17:26:16 +0000</updated>
                            <resolved>Wed, 6 Nov 2013 17:26:16 +0000</resolved>
                                    <version>Lustre 2.0.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="34419" author="bkorb" created="Tue, 10 Apr 2012 12:53:39 +0000"  >&lt;p&gt;Hmmm.  That&apos;s a very clever program, that Jira.  That enumeration in the description is actually a quote of a series of &quot;#define&quot; statements, not an enumeration.&lt;/p&gt;</comment>
                            <comment id="34439" author="green" created="Tue, 10 Apr 2012 13:53:22 +0000"  >&lt;p&gt;Please submit a patch.&lt;/p&gt;

&lt;p&gt;Also there are more problems with not having LIBCFS_DEBUG not defined that that. There are still some lasserts that execute important code I think. So i nshort running with debug compiled out is not supported ATM and not something we would recommend &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="34443" author="bkorb" created="Tue, 10 Apr 2012 14:07:16 +0000"  >&lt;p&gt;I had guessed that there might be more issues than that.  I&apos;m buried in trying to understand ldlm locking on the 1.8 tree so I can cut down lr_lock hold times.  (Heart beats are going missing....)  So this is a heads up, patch will/may come when I have the right round tuit.&lt;/p&gt;

&lt;p&gt;So, clearly building with LIBCFS_DEBUG not defined cannot be supported at the moment, but getting it to compile ought not be a particularly difficult thing to accomplish.  Worry over side effects within asserts later.&lt;/p&gt;</comment>
                            <comment id="34446" author="bkorb" created="Tue, 10 Apr 2012 14:17:02 +0000"  >&lt;p&gt;Oh, one other detail:  unless there is a program put in place to compile the thing once in a while, it&apos;d be a waste of time to fix it.  It would just atrophy.  &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/sad.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="70873" author="adilger" created="Wed, 6 Nov 2013 17:26:16 +0000"  >&lt;p&gt;I don&apos;t think this is a priority.  Can be reopened if someone wants to work on this.&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|hzw2jr:</customfieldvalue>

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