<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:04:50 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-208] wrong check for swabbing in _debug_req()</title>
                <link>https://jira.whamcloud.com/browse/LU-208</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The incorrect patch was landed in bug 16359. The check for swabbing is always negative when there is no swabbing needed, causing missed opcode, flags and status in debug log:&lt;br/&gt;
req@ffff81032ead3c00 x1365585644523006/t0(4295007526) o-1-&amp;gt;917221e7-5188-2444-10d7-07b3e1abdbd0@NET_0x50000c0a80416_UUID:0/0 lens 528/1240 e 0 to 0 dl 1302324554 ref 1 fl Complete:/ffffffff/ffffffff rc 0/-1&lt;/p&gt;

&lt;p&gt;Flags, status and opcode are -1, while request is fully initialized and valid.&lt;/p&gt;

&lt;p&gt;We need to change _debug_req() in similar way with b1_8 code.&lt;/p&gt;</description>
                <environment></environment>
        <key id="10584">LU-208</key>
            <summary>wrong check for swabbing in _debug_req()</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</priority>
                        <status id="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="tappro">Mikhail Pershin</assignee>
                                    <reporter username="tappro">Mikhail Pershin</reporter>
                        <labels>
                    </labels>
                <created>Mon, 11 Apr 2011 11:51:58 +0000</created>
                <updated>Mon, 8 Oct 2012 07:03:46 +0000</updated>
                            <resolved>Mon, 8 Oct 2012 07:03:40 +0000</resolved>
                                    <version>Lustre 2.1.0</version>
                                    <fixVersion>Lustre 2.1.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="14188" author="green" created="Wed, 11 May 2011 17:56:02 +0000"  >&lt;p&gt;I prefer that instead of replicating error-prone code from 1.8 we instead change the code in a proper way so that no intimate knowledge of message structure is needed anywhere outside of relevant ptlrpc bits.&lt;/p&gt;

&lt;p&gt;I would prefer if it was totally redone to hide the details and so that the debug_req code as is now would work and all the check to be done internally.&lt;/p&gt;

&lt;p&gt;Say need_swab() would check magic first. If the magic does not match that means we need to swab the message first and so the body would need to be swabbed too. If the magic does match then we can see into the body flags to see if it needs to be swabbed or not.&lt;/p&gt;

&lt;p&gt;I am not sure if we need to retain lustre_XXX_swabbed() flags at all, seemingly need_swab() conveys the same info. Something like need_swab == !swabbed.&lt;/p&gt;</comment>
                            <comment id="46143" author="tappro" created="Mon, 8 Oct 2012 07:03:40 +0000"  >&lt;p&gt;this problem was fixed already in master branch&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                    <customfield id="customfield_10020" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Bugzilla ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>16359.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <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|hzw0m7:</customfieldvalue>

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