<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:23:00 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-15986] Race condition between _debug_req() and ptlrpc_req_drop_rs()</title>
                <link>https://jira.whamcloud.com/browse/LU-15986</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Two execution paths about req-&amp;gt;rq_repmsg:&lt;/p&gt;

&lt;p&gt;Path 1 happens when server receives a resent request:&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; ptlrpc_main()-&amp;gt; ptlrpc_server_handle_req_in()-&amp;gt;ptlrpc_server_request_add()-&amp;gt;ptlrpc_server_check_resend_in_progress()-&amp;gt;_debug_req(tmp)&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Path 2 happens when server sends reply and drop the rs:&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; ptlrpc_server_finish_request()-&amp;gt;ptlrpc_server_drop_request()-&amp;gt;ptlrpc_server_free_request()-&amp;gt;ptlrpc_req_drop_rs()&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;req-&amp;gt;rq_repmsg is not protected well in &lt;tt&gt;ptlrpc_req_drop_rs()&lt;/tt&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="70968">LU-15986</key>
            <summary>Race condition between _debug_req() and ptlrpc_req_drop_rs()</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="flei">Feng Lei </assignee>
                                    <reporter username="flei">Feng Lei </reporter>
                        <labels>
                    </labels>
                <created>Thu, 30 Jun 2022 01:30:31 +0000</created>
                <updated>Tue, 22 Nov 2022 13:47:35 +0000</updated>
                            <resolved>Sat, 24 Sep 2022 23:33:14 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                    <fixVersion>Lustre 2.15.2</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="339234" author="gerrit" created="Thu, 30 Jun 2022 03:02:13 +0000"  >&lt;p&gt;&quot;Feng, Lei &amp;lt;flei@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47839&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47839&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15986&quot; title=&quot;Race condition between _debug_req() and ptlrpc_req_drop_rs()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15986&quot;&gt;&lt;del&gt;LU-15986&lt;/del&gt;&lt;/a&gt; ptlrpc: protect rq_repmsg in ptlrpc_req_drop_rs()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 05f38bf79b585f8c13d741d30f487437b413ad3b&lt;/p&gt;</comment>
                            <comment id="344026" author="pjones" created="Thu, 18 Aug 2022 22:57:23 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=flei&quot; class=&quot;user-hover&quot; rel=&quot;flei&quot;&gt;flei&lt;/a&gt;&#160;are the test failures on the master patch due to the patch itself?&lt;/p&gt;</comment>
                            <comment id="344197" author="flei" created="Mon, 22 Aug 2022 03:28:33 +0000"  >&lt;p&gt;I don&apos;t think so. &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16100&quot; title=&quot;sanity test_51d: 0 dirstripes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16100&quot;&gt;&lt;del&gt;LU-16100&lt;/del&gt;&lt;/a&gt; to track it.&lt;/p&gt;</comment>
                            <comment id="347820" author="gerrit" created="Sat, 24 Sep 2022 20:28:04 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/47839/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47839/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15986&quot; title=&quot;Race condition between _debug_req() and ptlrpc_req_drop_rs()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15986&quot;&gt;&lt;del&gt;LU-15986&lt;/del&gt;&lt;/a&gt; ptlrpc: protect rq_repmsg in ptlrpc_req_drop_rs()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: aaef545cff2dd958418ec9fb364d4bbe1408edb9&lt;/p&gt;</comment>
                            <comment id="347829" author="pjones" created="Sat, 24 Sep 2022 23:33:14 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                            <comment id="353013" author="gerrit" created="Tue, 15 Nov 2022 04:59:17 +0000"  >&lt;p&gt;&quot;Xing Huang &amp;lt;hxing@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/49157&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/49157&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15986&quot; title=&quot;Race condition between _debug_req() and ptlrpc_req_drop_rs()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15986&quot;&gt;&lt;del&gt;LU-15986&lt;/del&gt;&lt;/a&gt; ptlrpc: protect rq_repmsg in ptlrpc_req_drop_rs()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 9aecd005de286162dc4ff9d3a5bc12b6076582f1&lt;/p&gt;</comment>
                            <comment id="353015" author="gerrit" created="Tue, 15 Nov 2022 05:33:37 +0000"  >&lt;p&gt;&quot;Xing Huang &amp;lt;hxing@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/49158&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/49158&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15986&quot; title=&quot;Race condition between _debug_req() and ptlrpc_req_drop_rs()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15986&quot;&gt;&lt;del&gt;LU-15986&lt;/del&gt;&lt;/a&gt; ptlrpc: protect rq_repmsg in ptlrpc_req_drop_rs()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 74ef48e7c6e86f2d4a3c5dcce5c8387f3f89e6e8&lt;/p&gt;</comment>
                            <comment id="353785" author="gerrit" created="Tue, 22 Nov 2022 03:42:29 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/49157/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/49157/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15986&quot; title=&quot;Race condition between _debug_req() and ptlrpc_req_drop_rs()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15986&quot;&gt;&lt;del&gt;LU-15986&lt;/del&gt;&lt;/a&gt; ptlrpc: protect rq_repmsg in ptlrpc_req_drop_rs()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: b9df7a08de6d119302be7bbe6b53061caa3ad758&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                        </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|i02thj:</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>