<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:18: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-8514] tgt_main.c:121:tgt_cancel_slc_locks()) ASSERTION( lock-&gt;l_client_cookie != 0 ) failed</title>
                <link>https://jira.whamcloud.com/browse/LU-8514</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Running Lustre version 2.8.0_0.0.llnlpreview.33 (see repo lustre-release-fe-llnl), we hit the following assertion on one of our MDS nodes (out of 16) in our 2.8 DNE testbed:&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;2016-08-18 05:45:32 [47956.538091] LustreError: 17552:0:(llog_cat.c:385:llog_cat_current_log()) lquake-MDT0004-osd: next log does not exist!
2016-08-18 05:45:32 [47956.550273] LustreError: 17552:0:(update_trans.c:1006:top_trans_stop()) lquake-MDT0004-osd: write updates failed: rc = -14
2016-08-18 05:45:32 [47956.592024] LustreError: 15805:0:(tgt_main.c:121:tgt_cancel_slc_locks()) ASSERTION( lock-&amp;gt;l_client_cookie != 0 ) failed:
2016-08-18 05:45:32 [47956.604585] LustreError: 15805:0:(tgt_main.c:121:tgt_cancel_slc_locks()) LBUG
2016-08-18 05:45:32 [47956.612773] Pid: 15805, comm: tx_commit_cb
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Note that the &quot;next log does not exist!&quot; message was introduced by the patch from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7800&quot; title=&quot;Panic during recovery of soak-test.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7800&quot;&gt;&lt;del&gt;LU-7800&lt;/del&gt;&lt;/a&gt;,  Change-Id: I2343023c1f3109c077c98d78d3669377d95ed42f, Patch-Set: 6.&lt;/p&gt;</description>
                <environment></environment>
        <key id="38963">LU-8514</key>
            <summary>tgt_main.c:121:tgt_cancel_slc_locks()) ASSERTION( lock-&gt;l_client_cookie != 0 ) failed</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="laisiyao">Lai Siyao</assignee>
                                    <reporter username="morrone">Christopher Morrone</reporter>
                        <labels>
                            <label>llnl</label>
                    </labels>
                <created>Thu, 18 Aug 2016 21:17:35 +0000</created>
                <updated>Tue, 14 Mar 2017 21:11:50 +0000</updated>
                            <resolved>Fri, 2 Sep 2016 04:38:41 +0000</resolved>
                                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="162550" author="pjones" created="Fri, 19 Aug 2016 17:34:24 +0000"  >&lt;p&gt;Lai&lt;/p&gt;

&lt;p&gt;Could you please look into this one?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="162576" author="di.wang" created="Fri, 19 Aug 2016 20:44:35 +0000"  >&lt;p&gt;Lai, It looks like we should not save slc locks if transaction fails?&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;static void mdt_save_remote_lock(struct mdt_thread_info *info,
                                 struct lustre_handle *h, enum ldlm_mode mode,
                                 int decref)
{
        ENTRY;

        if (lustre_handle_is_used(h)) {
                if (decref || !info-&amp;gt;mti_has_trans ||
                    !(mode &amp;amp; (LCK_PW | LCK_EX))) {    ----&amp;gt; check failure transaction here.
                        ldlm_lock_decref_and_cancel(h, mode);
                } else {
                        struct ldlm_lock *lock = ldlm_handle2lock(h);
                        struct ptlrpc_request *req = mdt_info_req(info);

                        LASSERT(req != NULL);
                        tgt_save_slc_lock(lock, req-&amp;gt;rq_transno);
                        ldlm_lock_decref(h, mode);
                }
                h-&amp;gt;cookie = 0ull;
        }

        EXIT;
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="162634" author="laisiyao" created="Mon, 22 Aug 2016 05:28:31 +0000"  >&lt;p&gt;IMHO the cause if transaction failure is not checked in mdt handlers, do you know why it&apos;s always ignored?&lt;/p&gt;</comment>
                            <comment id="162744" author="morrone" created="Mon, 22 Aug 2016 21:12:44 +0000"  >&lt;p&gt;We hit this a couple of more times.  Now it is hitting almost as soon as the MDS is brought back up.  This is currently our worst blocker in testing on the DNE testbed.&lt;/p&gt;</comment>
                            <comment id="162745" author="di.wang" created="Mon, 22 Aug 2016 21:20:47 +0000"  >&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;IMHO the cause if transaction failure is not checked in mdt handlers, do you know why it&apos;s always ignored?
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Usually if the transaction fails, info-&amp;gt;mti_has_trans should not be set, but unfortunately for this case, the local transaction succeeds (i.e. info-&amp;gt;mti_has_trans is set), but the remote transaction fails, so I think you need add another flag or sth to check this failure.&lt;/p&gt;</comment>
                            <comment id="162777" author="gerrit" created="Tue, 23 Aug 2016 05:42:57 +0000"  >&lt;p&gt;Lai Siyao (lai.siyao@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/22071&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/22071&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8514&quot; title=&quot;tgt_main.c:121:tgt_cancel_slc_locks()) ASSERTION( lock-&amp;gt;l_client_cookie != 0 ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8514&quot;&gt;&lt;del&gt;LU-8514&lt;/del&gt;&lt;/a&gt; mdd: transaction failure should be checked&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b1d88d35ee5b156aed9a3c4ab61fedc8f1821257&lt;/p&gt;</comment>
                            <comment id="164734" author="gerrit" created="Fri, 2 Sep 2016 02:21:37 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/22071/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/22071/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8514&quot; title=&quot;tgt_main.c:121:tgt_cancel_slc_locks()) ASSERTION( lock-&amp;gt;l_client_cookie != 0 ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8514&quot;&gt;&lt;del&gt;LU-8514&lt;/del&gt;&lt;/a&gt; mdd: transaction failure should be checked&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e1ace3751f9add26b3f01aad9c278b6bfca8f739&lt;/p&gt;</comment>
                            <comment id="164761" author="pjones" created="Fri, 2 Sep 2016 04:38:41 +0000"  >&lt;p&gt;Landed for 2.9&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <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|hzyl9z:</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>