<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:12:35 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-1005] fix spurious libcfs_debug_str2mask() warning</title>
                <link>https://jira.whamcloud.com/browse/LU-1005</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In many tests I see the warning message:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;libcfs_debug_str2mask()) You are trying to use a numerical value for the mask -&lt;br/&gt;
 this will be deprecated in a future release.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;due to the use of numerical PTLDEBUG mask in the test framework cfg/local.sh file.&lt;/p&gt;

&lt;p&gt;Since we are trying to deprecate the usage of numerical debug masks in favor of strings, and to remove extraneous garbage from our test results, this warning should be fixed.&lt;/p&gt;

&lt;p&gt;The current PTLDEBUG mask is 0x33f0484, which used to be the default debug mask at startup.  The default debug mask is now:&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;unsigned int libcfs_debug = (D_EMERG | D_ERROR | D_WARNING | D_CONSOLE |
                             D_NETERROR | D_HA | D_CONFIG | D_IOCTL);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;which breaks down to (0x40000 | 0x20000 | 0x400 | 0x2000000 | 0x100 | 0x80000 | 0x1000000 | 0x80) = 0x30e0580.&lt;/p&gt;

&lt;p&gt;I&apos;m not against keeping the 0x33f0484 debug mask for testing, but it should be converted to a string.  It looks like the following should work:&lt;/p&gt;

&lt;p&gt;PTLDEBUG=&quot;super warning dlmtrace error emerg ha rpctrace vfstrace config console&quot;&lt;/p&gt;</description>
                <environment></environment>
        <key id="12909">LU-1005</key>
            <summary>fix spurious libcfs_debug_str2mask() warning</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="yujian">Jian Yu</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>tests</label>
                    </labels>
                <created>Tue, 17 Jan 2012 03:32:24 +0000</created>
                <updated>Thu, 27 Sep 2012 16:22:46 +0000</updated>
                            <resolved>Wed, 18 Apr 2012 08:02:37 +0000</resolved>
                                                    <fixVersion>Lustre 2.2.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                            <comments>
                            <comment id="26700" author="bzzz" created="Tue, 17 Jan 2012 06:04:49 +0000"  >&lt;p&gt;can we change this behavior to print the warning once?&lt;/p&gt;</comment>
                            <comment id="35008" author="yujian" created="Wed, 18 Apr 2012 08:02:37 +0000"  >&lt;p&gt;This has been fixed in &lt;a href=&quot;http://review.whamcloud.com/2015&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/2015&lt;/a&gt;. Let&apos;s close this ticket.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <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|hzw173:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10275</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>