<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:21:11 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-8860] lock callback errors after client umount</title>
                <link>https://jira.whamcloud.com/browse/LU-8860</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;During performance testing I&apos;ve noticed error messages from AST callbacks like this:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;LustreError: 12408:0:(client.c:1164:ptlrpc_import_delay_req()) @@@ IMP_CLOSED   req@ffff880051aa6520 x1551685286400384/t0(0) o104-&amp;gt;lustre-MDT0000@0@lo:15/16 lens 296/224 e 0 to 0 dl 0 ref 1 fl Rpc:/0/ffffffff rc 0/-1
LustreError: 12408:0:(client.c:1164:ptlrpc_import_delay_req()) Skipped 2 previous similar messages
LustreError: 12408:0:(ldlm_lockd.c:687:ldlm_handle_ast_error()) ### client (nid 0@lo) failed to reply to blocking AST (req@ffff880051aa6520 x1551685286400384 status 0 rc -5), evict it ns: mdt-lustre-MDT0000_UUID
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This happens if client performed some tests actively and was remounted. The reason of this is the old disconnected export which is not yet fully finished while new connection is established already. As result there are locks from that old export and new operations might conflict with some of them, causing blocking AST attempt. When AST request is prepared the ptlrpc_import_delay_req() find its import is in CLOSED state and return -EIO error. Then ldlm_handle_ast_error() consider this as an error and evict old export which is disconnected already.&lt;/p&gt;

&lt;p&gt;I think that makes a little sense to perform all these actions, better to recognize that export is failed/disconnected when we found the lock and don&apos;t consider it as blocking lock at all.&lt;/p&gt;</description>
                <environment></environment>
        <key id="41730">LU-8860</key>
            <summary>lock callback errors after client umount</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="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="2">Won&apos;t Fix</resolution>
                                        <assignee username="tappro">Mikhail Pershin</assignee>
                                    <reporter username="tappro">Mikhail Pershin</reporter>
                        <labels>
                    </labels>
                <created>Tue, 22 Nov 2016 11:30:16 +0000</created>
                <updated>Mon, 6 Feb 2017 09:29:32 +0000</updated>
                            <resolved>Mon, 6 Feb 2017 09:29:32 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="174860" author="gerrit" created="Wed, 23 Nov 2016 17:46:18 +0000"  >&lt;p&gt;Mike Pershin (mike.pershin@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/23921&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/23921&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8860&quot; title=&quot;lock callback errors after client umount&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8860&quot;&gt;&lt;del&gt;LU-8860&lt;/del&gt;&lt;/a&gt; ldlm: don&apos;t send AST for outdated locks&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: fbb1cb6894f2a2505fe13ca354d3d1bb89d9993c&lt;/p&gt;</comment>
                            <comment id="174861" author="tappro" created="Wed, 23 Nov 2016 17:47:51 +0000"  >&lt;p&gt;This is just a possible patch which solves that problem.&lt;/p&gt;</comment>
                            <comment id="174868" author="tappro" created="Wed, 23 Nov 2016 18:20:38 +0000"  >&lt;p&gt;Oleg mentioned that this situation should be handled by old patch &lt;a href=&quot;http://review.whamcloud.com/5843&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/5843&lt;/a&gt; and there must be no ASTs on disconnected exports. It makes sense to investigate why it is not so.&lt;/p&gt;</comment>
                            <comment id="175011" author="vitaly_fertman" created="Thu, 24 Nov 2016 20:54:37 +0000"  >&lt;p&gt;I think the reason for this is &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6271&quot; title=&quot;(osc_cache.c:3150:discard_cb()) ASSERTION( (!(page-&amp;gt;cp_type == CPT_CACHEABLE) || (!PageDirty(cl_page_vmpage(page)))) ) failed:&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6271&quot;&gt;&lt;del&gt;LU-6271&lt;/del&gt;&lt;/a&gt; which kills the client locks locally on umount, landed later. before that only evicted export could have locks on stalled exports.&lt;/p&gt;</comment>
                            <comment id="175196" author="jgmitter" created="Mon, 28 Nov 2016 16:41:05 +0000"  >&lt;p&gt;Assigning to Mike as he already has a patch in flight.&lt;/p&gt;</comment>
                            <comment id="183530" author="tappro" created="Mon, 6 Feb 2017 09:29:32 +0000"  >&lt;p&gt;After discussion with Vitaly I agreed this is not an issue and should be handled by current code properly.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="43445">LU-9066</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="43445">LU-9066</issuekey>
        </issuelink>
                            </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|hzywav:</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>