<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:56:57 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-6071] LBUG during mkdir -i 1 from 2.6.0 client to 2.5.3 server</title>
                <link>https://jira.whamcloud.com/browse/LU-6071</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&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; kernel:LustreError: 3652:0:(mdt_handler.c:2706:mdt_object_lock0()) ASSERTION( !(ibits &amp;amp; (MDS_INODELOCK_UPDATE | MDS_INODELOCK_PERM)) ) failed: lustre-MDT0001: wrong bit 0x2 &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; remote obj [0x200000007:0x1:0x0]
 kernel:LustreError: 3652:0:(mdt_handler.c:2706:mdt_object_lock0()) LBUG
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;To reproduce the issue two-node cluster is enough.&lt;/p&gt;

&lt;p&gt;On server:&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;#MDSCOUNT=3 lustre/tests/llmount.sh
#lctl set_param mdt.*.enable_remote_dir=1
#lctl set_param mdt.*.enable_remote_dir_gid=1122
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Client&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;#mount -t lustre 172.16.157.136@tcp0:/lustre /mnt/lustre
#lustre/utils/lfs mkdir -i 1 /mnt/lustre/mdt1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Server is failed with  LBUG above.&lt;/p&gt;</description>
                <environment>Patchless client from branch b2_6 &lt;br/&gt;
07-19-2014 Intel Corporation&lt;br/&gt;
* version 2.6.0&lt;br/&gt;
&lt;br/&gt;
Server from b2_5 (e835226b17309ec21fd7b46cf397e5fd557049bd)&lt;br/&gt;
09-03-2014 Intel Corporation&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;* version 2.5.3</environment>
        <key id="28016">LU-6071</key>
            <summary>LBUG during mkdir -i 1 from 2.6.0 client to 2.5.3 server</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="di.wang">Di Wang</assignee>
                                    <reporter username="artem_blagodarenko">Artem Blagodarenko</reporter>
                        <labels>
                            <label>HB</label>
                            <label>mq115</label>
                            <label>patch</label>
                    </labels>
                <created>Fri, 26 Dec 2014 09:22:23 +0000</created>
                <updated>Wed, 4 Dec 2019 03:01:19 +0000</updated>
                            <resolved>Thu, 22 Jan 2015 20:06:52 +0000</resolved>
                                    <version>Lustre 2.6.0</version>
                    <version>Lustre 2.5.3</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="102335" author="gerrit" created="Fri, 26 Dec 2014 18:28:39 +0000"  >&lt;p&gt;Artem Blagodarenko (artem_blagodarenko@xyratex.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/13189&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13189&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6071&quot; title=&quot;LBUG during mkdir -i 1 from 2.6.0 client to 2.5.3 server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6071&quot;&gt;&lt;del&gt;LU-6071&lt;/del&gt;&lt;/a&gt; client: Fix mkdir -i 1 from DNE2 client to DNE1 server&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 590ee871adccda9ac52d02d888b2c27916be22cb&lt;/p&gt;</comment>
                            <comment id="102336" author="gerrit" created="Fri, 26 Dec 2014 20:16:32 +0000"  >&lt;p&gt;Artem Blagodarenko (artem_blagodarenko@xyratex.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/13190&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13190&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6071&quot; title=&quot;LBUG during mkdir -i 1 from 2.6.0 client to 2.5.3 server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6071&quot;&gt;&lt;del&gt;LU-6071&lt;/del&gt;&lt;/a&gt; client: Fix mkdir -i 1 from DNE2 client to DNE1 server&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_6&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: cc680fa5575c8ccc110e8293d1e5bff3cd92007d&lt;/p&gt;</comment>
                            <comment id="102347" author="adilger" created="Sun, 28 Dec 2014 07:13:10 +0000"  >&lt;p&gt;Artem, thanks for the patch. We&apos;re not planning to land any patches for b2_6, since that is not a maintenance branch. Is this patch needed for b2_5 or master?  Is the MDS LASSERT() removed on master or can it still be triggered by a bad client? Could you please also submit a patch for b2_5 to make the LASSERT() just return an error in this case (-EREMOTE? or even better pass the RPC on to the proper MDT). &lt;/p&gt;</comment>
                            <comment id="102351" author="artem_blagodarenko" created="Mon, 29 Dec 2014 09:40:56 +0000"  >&lt;blockquote&gt;
&lt;p&gt;Artem, thanks for the patch. We&apos;re not planning to land any patches for b2_6, since that is not a maintenance branch. Is this patch needed for b2_5 or master? &lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Andreas, all clients &amp;gt;= b2_6 should be patched. So, I believe I need to rebase this patch to master branch and upload again. Should I?&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt; Is the MDS LASSERT() removed on master or can it still be triggered by a bad client? &lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;MDS LASSERT is removed on master. MDS from master can fine accept old and new clients.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Could you please also submit a patch for b2_5 to make the LASSERT() just return an error in this case (-EREMOTE? or even better pass the RPC on to the proper MDT).&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;So, we need another one patch for b2_5 server? Not a problem I will make it. I believe adding -EREMOTE message is better. Quite the same error returns server from master then it gets request to wrong MDT (see CLIENT-MDT compatibility chapter in &lt;a href=&quot;http://wiki.opensfs.org/images/f/ff/DNE_StripedDirectories_HighLevelDesign.pdf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://wiki.opensfs.org/images/f/ff/DNE_StripedDirectories_HighLevelDesign.pdf&lt;/a&gt;).&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;In DNE Phase II rename request will be sent to the MDT where the target file is located. This is different from DNE Phase I. An old client (&amp;lt;= Lustre software version 2.4.0) will still send the request to the MDT where the source parent is, and the source parent will return -EREMOTE to the old client. A 2.4.0 client does not understand -EREMOTE so a patch will be added to 2.4 series to redirect rename request to the MDT where the target file is, if it gets -EREMOTE from the MDT.&lt;/p&gt;&lt;/blockquote&gt;
</comment>
                            <comment id="103315" author="gerrit" created="Tue, 13 Jan 2015 11:28:16 +0000"  >&lt;p&gt;Artem Blagodarenko (artem_blagodarenko@xyratex.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/13361&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13361&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6071&quot; title=&quot;LBUG during mkdir -i 1 from 2.6.0 client to 2.5.3 server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6071&quot;&gt;&lt;del&gt;LU-6071&lt;/del&gt;&lt;/a&gt; mdt: Fix mkdir -i 1 from DNE2 client to DNE1 server&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_5&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 7b8cffa906b6ae0de5c16a92b315ea973cdd920a&lt;/p&gt;</comment>
                            <comment id="103316" author="artem_blagodarenko" created="Tue, 13 Jan 2015 11:41:07 +0000"  >&lt;p&gt;I uploaded patch for 2.5 server. Now 2.6 client returns if try lfs mkdir -i 1 to 2.5 server&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;# lustre/utils/lfs mkdir -i 1 /mnt/lustre/mdt1
error on LL_IOC_LMV_SETSTRIPE &lt;span class=&quot;code-quote&quot;&gt;&apos;/mnt/lustre/mdt1&apos;&lt;/span&gt; (3): &lt;span class=&quot;code-object&quot;&gt;Object&lt;/span&gt; is remote
error: mkdir: create stripe dir &lt;span class=&quot;code-quote&quot;&gt;&apos;/mnt/lustre/mdt1&apos;&lt;/span&gt; failed
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="104375" author="gerrit" created="Thu, 22 Jan 2015 20:05:41 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/13189/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13189/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6071&quot; title=&quot;LBUG during mkdir -i 1 from 2.6.0 client to 2.5.3 server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6071&quot;&gt;&lt;del&gt;LU-6071&lt;/del&gt;&lt;/a&gt; client: Fix mkdir -i 1 from DNE2 client to DNE1 server&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 426f9c0365d1e8528b07b89f1d7c0a7f2f80e3a5&lt;/p&gt;</comment>
                            <comment id="104378" author="pjones" created="Thu, 22 Jan 2015 20:06:52 +0000"  >&lt;p&gt;Landed for 2.7&lt;/p&gt;</comment>
                            <comment id="104497" author="artem_blagodarenko" created="Fri, 23 Jan 2015 11:34:11 +0000"  >&lt;p&gt;There is also server-side patch patch: &lt;a href=&quot;http://review.whamcloud.com/13361&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13361&lt;/a&gt; for 2_5 branch that need to be inspected (only one +1)&lt;/p&gt;</comment>
                            <comment id="111728" author="gerrit" created="Wed, 8 Apr 2015 13:17:14 +0000"  >&lt;p&gt;Artem Blagodarenko (artem_blagodarenko@xyratex.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/14401&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/14401&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6071&quot; title=&quot;LBUG during mkdir -i 1 from 2.6.0 client to 2.5.3 server&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6071&quot;&gt;&lt;del&gt;LU-6071&lt;/del&gt;&lt;/a&gt; client: Fix mkdir -i 1 from DNE2 client to DNE1 server&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_5&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 8c6cd3b49a5cceb4045825651a6a0543ab893b4a&lt;/p&gt;</comment>
                            <comment id="114343" author="artem_blagodarenko" created="Wed, 6 May 2015 07:14:51 +0000"  >&lt;p&gt; &lt;a href=&quot;http://review.whamcloud.com/14401&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/14401&lt;/a&gt; is abandoned, but   &lt;a href=&quot;http://review.whamcloud.com/13361&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13361&lt;/a&gt; inspection is still in progress.&lt;/p&gt;</comment>
                            <comment id="163003" author="artem_blagodarenko" created="Wed, 24 Aug 2016 15:01:19 +0000"  >&lt;p&gt;&amp;gt;&lt;a href=&quot;http://review.whamcloud.com/14401&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/14401&lt;/a&gt; is abandoned, but &lt;a href=&quot;http://review.whamcloud.com/13361&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13361&lt;/a&gt; inspection is still in progress.&lt;br/&gt;
I see this issue is closed. Sorry, are we going to land this sever patch to b2_5? Thanks.&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|hzx327:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>16896</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>