<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:51: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-12333] Add additional rpc flags to DEBUG_REQ_FLAGS</title>
                <link>https://jira.whamcloud.com/browse/LU-12333</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The PtlRPC state machine relies on flags in the ptlrpc_request structure to transition from one request state to another. When a request is in the RQ_PHASE_UNREG_RPC state there are three flags relevant to the request&apos;s ability to transition.&lt;/p&gt;

&lt;p&gt;From ptlrpc_check_set():&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;                        if (req-&amp;gt;rq_phase == RQ_PHASE_UNREG_RPC &amp;amp;&amp;amp;
                            ptlrpc_client_recv_or_unlink(req))
                                continue;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;and from ptlrpc_client_recv_or_unlink():&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;        rc = !req-&amp;gt;rq_req_unlinked || !req-&amp;gt;rq_reply_unlinked ||
             req-&amp;gt;rq_receiving_reply;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;None of those three flags are printed by the DEBUG_REQ_FLAGS macro. Historically this has made it a little more difficult to troubleshoot bugs resulting in RPCs that are stuck in the unregistering state. Those flags should be added to the macro.&lt;/p&gt;</description>
                <environment></environment>
        <key id="55738">LU-12333</key>
            <summary>Add additional rpc flags to DEBUG_REQ_FLAGS</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="hornc">Chris Horn</assignee>
                                    <reporter username="hornc">Chris Horn</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 May 2019 19:34:19 +0000</created>
                <updated>Thu, 20 Jun 2019 22:22:44 +0000</updated>
                            <resolved>Thu, 20 Jun 2019 22:22:44 +0000</resolved>
                                    <version>Lustre 2.13.0</version>
                                    <fixVersion>Lustre 2.13.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="247601" author="gerrit" created="Thu, 23 May 2019 19:46:28 +0000"  >&lt;p&gt;Chris Horn (hornc@cray.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/34949&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34949&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12333&quot; title=&quot;Add additional rpc flags to DEBUG_REQ_FLAGS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12333&quot;&gt;&lt;del&gt;LU-12333&lt;/del&gt;&lt;/a&gt; ptlrpc: Add more flags to DEBUG_REQ_FLAGS macro&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 69bf6225d11745051a88f854d94a4add3f6ccb0f&lt;/p&gt;</comment>
                            <comment id="247604" author="adilger" created="Thu, 23 May 2019 20:41:36 +0000"  >&lt;p&gt;I was just thinking yesterday that it would be useful to also include the OBD device name or target name into the main client &lt;tt&gt;D_RPCTRACE&lt;/tt&gt; debug messages (&quot;&lt;tt&gt;Sending RPC pname:...&lt;/tt&gt;&quot; and &quot;&lt;tt&gt;&quot;Completed RPC pname:...&lt;/tt&gt;&quot;) in addition to the server NID.  Otherwise, in a client debug log with a large number of threads doing RPCs to servers with multiple OSTs/MDTs it is more difficult to track which target the client is accessing.&lt;/p&gt;</comment>
                            <comment id="248169" author="gerrit" created="Sat, 1 Jun 2019 03:55:40 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/34949/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34949/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12333&quot; title=&quot;Add additional rpc flags to DEBUG_REQ_FLAGS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12333&quot;&gt;&lt;del&gt;LU-12333&lt;/del&gt;&lt;/a&gt; ptlrpc: Add more flags to DEBUG_REQ_FLAGS macro&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 5bcc3a330e21865b5b78a4c4596f878f12a43dbc&lt;/p&gt;</comment>
                            <comment id="248195" author="pjones" created="Sat, 1 Jun 2019 14:33:32 +0000"  >&lt;p&gt;Landed for 2.13&lt;/p&gt;</comment>
                            <comment id="248592" author="gerrit" created="Thu, 6 Jun 2019 21:18:21 +0000"  >&lt;p&gt;Vitaly Fertman (c17818@cray.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35090&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35090&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12333&quot; title=&quot;Add additional rpc flags to DEBUG_REQ_FLAGS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12333&quot;&gt;&lt;del&gt;LU-12333&lt;/del&gt;&lt;/a&gt; ptlrpc: Add more flags to DEBUG_REQ_FLAGS macro&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 56ff009c3af13deb4d249f519f7c62b8491f158b&lt;/p&gt;</comment>
                            <comment id="249530" author="gerrit" created="Thu, 20 Jun 2019 03:52:58 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/35090/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35090/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12333&quot; title=&quot;Add additional rpc flags to DEBUG_REQ_FLAGS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12333&quot;&gt;&lt;del&gt;LU-12333&lt;/del&gt;&lt;/a&gt; ptlrpc: Add more flags to DEBUG_REQ_FLAGS macro&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 3e43d06810e69fdccd815bbbf5e4b50930d33ee7&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|i00gw7:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>