<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:18:52 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-15502] mkdir returns -EBADF if default LMV is set in 2.12 client &lt;-&gt; 2.14 MDS system</title>
                <link>https://jira.whamcloud.com/browse/LU-15502</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;From 2.14, if client doesn&apos;t specify default LMV hash type, MDS will use the default one (from tunable option &lt;tt&gt;lod.&amp;#42;.mdt_hash&lt;/tt&gt;). But before 2.14, default LMV hash type should be set explicitly, otherwise in real creation time mkdir will returns -&lt;tt&gt;EBADF&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;2.12.6 is running on server and 2.14.0 is running on the client.&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;# mkdir /testfs/dir0
# lfs setdirstripe -c -1 -D /testfs/dir0/
# mkdir /testfs/dir0/testdir
# mkdir /testfs/dir0/testdir/subdir
mkdir: cannot create directory &#8216;/testfs/dir0/testdir/subdir&#8217;: Bad file descriptor
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</description>
                <environment></environment>
        <key id="68406">LU-15502</key>
            <summary>mkdir returns -EBADF if default LMV is set in 2.12 client &lt;-&gt; 2.14 MDS system</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="laisiyao">Lai Siyao</reporter>
                        <labels>
                    </labels>
                <created>Sat, 29 Jan 2022 06:30:12 +0000</created>
                <updated>Wed, 14 Sep 2022 06:24:15 +0000</updated>
                            <resolved>Mon, 30 May 2022 21:52:30 +0000</resolved>
                                    <version>Lustre 2.14.0</version>
                    <version>Lustre 2.12.8</version>
                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="324423" author="gerrit" created="Sat, 29 Jan 2022 06:47:26 +0000"  >&lt;p&gt;&quot;Lai Siyao &amp;lt;lai.siyao@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/46378&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46378&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15502&quot; title=&quot;mkdir returns -EBADF if default LMV is set in 2.12 client &amp;lt;-&amp;gt; 2.14 MDS system&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15502&quot;&gt;&lt;del&gt;LU-15502&lt;/del&gt;&lt;/a&gt; llite: set default LMV hash type with 2.12 MDS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 5f8c85a4616153ac693652109ccf42c9dbf416a1&lt;/p&gt;</comment>
                            <comment id="324469" author="adilger" created="Sun, 30 Jan 2022 07:36:11 +0000"  >&lt;p&gt;What I don&apos;t understand is why this wasn&apos;t hit during interop testing?&lt;/p&gt;

&lt;p&gt;Is it because the &lt;b&gt;default&lt;/b&gt; layout was set with a hash that the MDS doesn&apos;t understand, but it allowed this to be set and only complained when it was actually used?  That seems like a but in the 2.12 MDS code, it should either return an error when the default hash is set, &lt;/p&gt;</comment>
                            <comment id="324472" author="adilger" created="Sun, 30 Jan 2022 08:17:22 +0000"  >&lt;p&gt;It looks like the important sanity test_300&lt;span class=&quot;error&quot;&gt;&amp;#91;gkmn&amp;#93;&lt;/span&gt; tests that would have caught this during normal review testing were all being skipped because they are run with mdtcount=1.&lt;/p&gt;

&lt;p&gt;Could you please submit a second test patch based on patch 46378 that makes some minor cleanup (e.g. replace spaces with tabs in &lt;tt&gt;lustre/mdt/mdt_open.c&lt;/tt&gt;) and adds:&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;Test-Parameters: trivial testlist=sanity,sanityn mdtcount=2 serverversion=2.12
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;so that we get a full set of tests run in this config.  I didn&apos;t want to run a full set of tests for your patch, since they may fail for other reasons, so I limited it to &lt;tt&gt;ONLY=300&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="324484" author="gerrit" created="Sun, 30 Jan 2022 12:04:15 +0000"  >&lt;p&gt;&quot;Andreas Dilger &amp;lt;adilger@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/46385&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46385&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15502&quot; title=&quot;mkdir returns -EBADF if default LMV is set in 2.12 client &amp;lt;-&amp;gt; 2.14 MDS system&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15502&quot;&gt;&lt;del&gt;LU-15502&lt;/del&gt;&lt;/a&gt; mdt: cleanup whitespace in mdt_open.c&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 3b5ad1e2cc6442e8733b85b29b08625e37457c4f&lt;/p&gt;</comment>
                            <comment id="325401" author="gerrit" created="Mon, 7 Feb 2022 04:43:41 +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/46378/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46378/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15502&quot; title=&quot;mkdir returns -EBADF if default LMV is set in 2.12 client &amp;lt;-&amp;gt; 2.14 MDS system&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15502&quot;&gt;&lt;del&gt;LU-15502&lt;/del&gt;&lt;/a&gt; llite: set default LMV hash type with 2.12 MDS&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 51c6d596d4f3e82decb037c02e8b5d095e0a4962&lt;/p&gt;</comment>
                            <comment id="336327" author="gerrit" created="Mon, 30 May 2022 18:44:30 +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/46385/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46385/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15502&quot; title=&quot;mkdir returns -EBADF if default LMV is set in 2.12 client &amp;lt;-&amp;gt; 2.14 MDS system&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15502&quot;&gt;&lt;del&gt;LU-15502&lt;/del&gt;&lt;/a&gt; mdt: cleanup whitespace in mdt_open.c&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ff1d982b6d8a9683c16d2dcc291d8fe47904ebbe&lt;/p&gt;</comment>
                            <comment id="336356" author="pjones" created="Mon, 30 May 2022 21:52:30 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10324">
                    <name>Cloners</name>
                                            <outwardlinks description="Clones">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="62971">LU-14459</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="69261">LU-15692</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|i02gqv:</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>