<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:41:13 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-11131] resent reint rpc failure due to reused reply data slot</title>
                <link>https://jira.whamcloud.com/browse/LU-11131</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;    The following scenario leads to failure of recent reint rpc:&lt;/p&gt;

&lt;p&gt;    1. mdt server has number of rpcs being handled, rpc 1 from client A&lt;br/&gt;
    and rpc 2 from client B.&lt;/p&gt;

&lt;p&gt;    2. shutdown for the server starts&lt;/p&gt;

&lt;p&gt;    3. rpc 1 is processed, reply data is added, but client A gets ENODEV&lt;br/&gt;
    in reply (ptlrpc_send_reply()) as shutdown is running&lt;/p&gt;

&lt;p&gt;    3. shutdown reaches class_disconnect_exports() and links an export A&lt;br/&gt;
    to the list of zombie exports&lt;/p&gt;

&lt;p&gt;    4. obd_zombid thread wakes up and destroy the export A, which includes&lt;br/&gt;
    freeing of reply data list with clearing bits in&lt;br/&gt;
    lut-&amp;gt;lut_reply_bitmap (tgt_free_reply_data())&lt;/p&gt;

&lt;p&gt;    5. export B is still processing the rpc 2 and looks for free bit in&lt;br/&gt;
    the lut-&amp;gt;lut_reply_bitmap to store reply data&lt;br/&gt;
    (tgt_add_reply_data()). If it finds a bit which has been just freed by&lt;br/&gt;
    obd_zombid thread, then reply data from export A will get overwritten&lt;br/&gt;
    in reply_data file with reply data from export B&lt;/p&gt;

&lt;p&gt;    6. after failover, reply data gets restored with&lt;br/&gt;
    tgt_reply_data_init(). The reply data of rpc1 from client A is missing&lt;/p&gt;

&lt;p&gt;    7. client A reconnects and resends its rpc 1. Server does not find&lt;br/&gt;
    reply data and processes the rpc as if it has not been seen yet. In&lt;br/&gt;
    case of unlink, the directory entry already does not exist so rpc 1&lt;br/&gt;
    fails&lt;/p&gt;</description>
                <environment></environment>
        <key id="52669">LU-11131</key>
            <summary>resent reint rpc failure due to reused reply data slot</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="1">Fixed</resolution>
                                        <assignee username="vsaveliev">Vladimir Saveliev</assignee>
                                    <reporter username="vsaveliev">Vladimir Saveliev</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 Jul 2018 13:19:10 +0000</created>
                <updated>Tue, 15 Oct 2019 21:23:58 +0000</updated>
                            <resolved>Wed, 18 Jul 2018 12:48:13 +0000</resolved>
                                                    <fixVersion>Lustre 2.12.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="230058" author="gerrit" created="Mon, 9 Jul 2018 13:20:22 +0000"  >&lt;p&gt;Vladimir Saveliev (c17830@cray.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/32798&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32798&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11131&quot; title=&quot;resent reint rpc failure due to reused reply data slot&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11131&quot;&gt;&lt;del&gt;LU-11131&lt;/del&gt;&lt;/a&gt; target: keep reply data bit set on failover&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: fe72c36f256d061862adb8bcf14a596eb0709c31&lt;/p&gt;</comment>
                            <comment id="230441" author="gerrit" created="Wed, 18 Jul 2018 06:01:27 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/32798/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/32798/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11131&quot; title=&quot;resent reint rpc failure due to reused reply data slot&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11131&quot;&gt;&lt;del&gt;LU-11131&lt;/del&gt;&lt;/a&gt; target: keep reply data bit set on failover&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 58edec38160f44be0ef784fecfab830a43f92fa8&lt;/p&gt;</comment>
                            <comment id="230471" author="pjones" created="Wed, 18 Jul 2018 12:48:13 +0000"  >&lt;p&gt;Landed for 2.12&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|hzzyxb:</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>