<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:44:49 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-11546] enable large_dir support for MDTs</title>
                <link>https://jira.whamcloud.com/browse/LU-11546</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Now that e2fsprogs-1.44.3 has support for &lt;tt&gt;large_dir&lt;/tt&gt;, testing and enabling the &lt;tt&gt;large_dir&lt;/tt&gt; support on MDTs would allow single directories to exceed the ~10M limit currently imposed by the 2-level htree.  This should be done automatically for new MDTs, and the existing error message in &lt;tt&gt;ext4_dx_add_entry()&lt;/tt&gt; should be updated to directly reference the &lt;tt&gt;large_dir&lt;/tt&gt; feature by name instead of just &quot;Large directory&quot;, and explain that it should be enabled by tune2fs.&lt;/p&gt;</description>
                <environment></environment>
        <key id="53659">LU-11546</key>
            <summary>enable large_dir support for MDTs</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="dongyang">Dongyang Li</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>LTS12</label>
                    </labels>
                <created>Thu, 18 Oct 2018 22:43:27 +0000</created>
                <updated>Wed, 25 May 2022 05:46:44 +0000</updated>
                            <resolved>Tue, 12 Nov 2019 06:37:17 +0000</resolved>
                                    <version>Lustre 2.12.0</version>
                    <version>Lustre 2.13.0</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                    <fixVersion>Lustre 2.12.8</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="235125" author="adilger" created="Thu, 18 Oct 2018 22:54:52 +0000"  >&lt;p&gt;Note that I &lt;b&gt;don&apos;t&lt;/b&gt; think that &lt;tt&gt;large_dir&lt;/tt&gt; should be used for OSTs.  For very large OSTs that exceed the 10M-entry limit for the &lt;tt&gt;O/0/d&amp;#42;&lt;/tt&gt; directories, I think it makes more sense to have the MDTs create fewer than &lt;tt&gt;LUSTRE_DATA_SEQ_MAX_WIDTH&lt;/tt&gt; (= 4B) objects per OST sequence, and have the OSTs create new object directories &lt;tt&gt;O/&amp;lt;seq&amp;gt;/d&amp;#42;&lt;/tt&gt; for each sequence (which they already do for DNE when multiple MDTs are creating objects on the OST).  This will allow the older object directory blocks to drop out of RAM as they become less used, and eventually those directories could be removed when they become empty.&lt;/p&gt;

&lt;p&gt;Having a single huge directory for objects means that the directory leaf blocks are updated totally randomly, and must always fit into RAM, or cause high read/write IOPS to the OST storage when there are lots of objects on a single OST.  That is very undesirable, since it will typically be HDD-based OSTs that are so large they need more than 320M objects in a single filesystem (10M entries/directory * 32 directories).&lt;/p&gt;</comment>
                            <comment id="250125" author="adilger" created="Thu, 27 Jun 2019 05:31:32 +0000"  >&lt;p&gt;The &quot;optimizing for more than 320M objects per OST per MDT&quot; issue is being tracked in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11912&quot; title=&quot;reduce number of OST objects created per MDS Sequence&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11912&quot;&gt;&lt;del&gt;LU-11912&lt;/del&gt;&lt;/a&gt;.  This ticket is only for testing and enabling &lt;tt&gt;large_dir&lt;/tt&gt; by default on filesystems.&lt;/p&gt;</comment>
                            <comment id="250253" author="gerrit" created="Fri, 28 Jun 2019 10:04:46 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35358&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35358&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11546&quot; title=&quot;enable large_dir support for MDTs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11546&quot;&gt;&lt;del&gt;LU-11546&lt;/del&gt;&lt;/a&gt; tests: enable large_dir support for tests&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 2d2209f33d9092e2de0a57f55c46950f5fee0fd5&lt;/p&gt;</comment>
                            <comment id="254305" author="gerrit" created="Sat, 7 Sep 2019 01:33:52 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/35358/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35358/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11546&quot; title=&quot;enable large_dir support for MDTs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11546&quot;&gt;&lt;del&gt;LU-11546&lt;/del&gt;&lt;/a&gt; tests: enable large_dir support for tests&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 5a02d431f4a0a80915afa19c065df29c61e26ec9&lt;/p&gt;</comment>
                            <comment id="256872" author="adilger" created="Tue, 22 Oct 2019 21:00:33 +0000"  >&lt;p&gt;Dongyang, can you please make a patch to enable &lt;tt&gt;large_dir&lt;/tt&gt; on MDTs when they are formatted by &lt;tt&gt;mkfs.lustre&lt;/tt&gt;.  This can go into master once 2.14 opens (in the next few weeks), and then likely backported to 2.12.4. &lt;/p&gt;</comment>
                            <comment id="256890" author="gerrit" created="Wed, 23 Oct 2019 00:18:25 +0000"  >&lt;p&gt;Li Dongyang (dongyangli@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36555&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36555&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11546&quot; title=&quot;enable large_dir support for MDTs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11546&quot;&gt;&lt;del&gt;LU-11546&lt;/del&gt;&lt;/a&gt; utils: enable large_dir for ldiskfs&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4c703152e418707a2ec2be607c07329d80b19e80&lt;/p&gt;</comment>
                            <comment id="258120" author="gerrit" created="Tue, 12 Nov 2019 04:06:49 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/36555/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36555/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11546&quot; title=&quot;enable large_dir support for MDTs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11546&quot;&gt;&lt;del&gt;LU-11546&lt;/del&gt;&lt;/a&gt; utils: enable large_dir for ldiskfs&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: cd1faa0124f21e12a5ecd83c709c13918264fc86&lt;/p&gt;</comment>
                            <comment id="258135" author="pjones" created="Tue, 12 Nov 2019 06:37:17 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&gt;</comment>
                            <comment id="258464" author="gerrit" created="Mon, 18 Nov 2019 16:18:58 +0000"  >&lt;p&gt;Minh Diep (mdiep@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36780&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36780&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11546&quot; title=&quot;enable large_dir support for MDTs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11546&quot;&gt;&lt;del&gt;LU-11546&lt;/del&gt;&lt;/a&gt; tests: enable large_dir support for tests&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 8059fd20860c57eaa224b9d30219000e3127d586&lt;/p&gt;</comment>
                            <comment id="258465" author="gerrit" created="Mon, 18 Nov 2019 16:18:58 +0000"  >&lt;p&gt;Minh Diep (mdiep@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36781&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36781&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11546&quot; title=&quot;enable large_dir support for MDTs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11546&quot;&gt;&lt;del&gt;LU-11546&lt;/del&gt;&lt;/a&gt; utils: enable large_dir for ldiskfs&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 823fc815fe3c5e3a7e2dd8ae8f8aa4d94301c35f&lt;/p&gt;</comment>
                            <comment id="271922" author="sthiell" created="Thu, 4 Jun 2020 03:12:30 +0000"  >&lt;p&gt;It would be nice to have this patch landed into 2.12 at some point. We just used 2.12.5 RC1 to format a MDT and large_dir was not set. With DNE and especially if we use &lt;tt&gt;lfs migrate -m&lt;/tt&gt;, &lt;tt&gt;large_dir&lt;/tt&gt; becomes quickly mandatory on MDTs.&lt;/p&gt;</comment>
                            <comment id="271926" author="adilger" created="Thu, 4 Jun 2020 05:57:12 +0000"  >&lt;p&gt;Stephane, it is easy enough to set after formatting - &quot;&lt;tt&gt;tune2fs -O large_dir &amp;lt;dev&amp;gt;&lt;/tt&gt;&quot;.  The holdup with landing the patch is that the tests written for this feature don&apos;t pass.  That is mostly a problem with the tests themselves (they don&apos;t pass on master either), so either the change should be rebased to not depend on the tests, or the tests should be fixed.&lt;/p&gt;</comment>
                            <comment id="271991" author="sthiell" created="Thu, 4 Jun 2020 17:29:13 +0000"  >&lt;p&gt;OK! We actually used &lt;tt&gt;mkfs.lustre -O large_dir,project&lt;/tt&gt; and it worked fine. It&apos;s also easy to set using &lt;tt&gt;tune2fs&lt;/tt&gt; like you said so not super critical to have it by default indeed. Thanks for the heads-up regarding the tests. Note that we have been using &lt;tt&gt;large_dir&lt;/tt&gt; for months now on Fir&apos;s MDTs (2.12.x).&lt;/p&gt;</comment>
                            <comment id="315868" author="gerrit" created="Mon, 18 Oct 2021 16:13:21 +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/36781/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36781/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11546&quot; title=&quot;enable large_dir support for MDTs&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11546&quot;&gt;&lt;del&gt;LU-11546&lt;/del&gt;&lt;/a&gt; utils: enable large_dir for ldiskfs&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 638638e3481f6dd3f6830e8e272362d8922c52f7&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="54751">LU-11915</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="14248">LU-1365</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="53440">LU-11440</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="54735">LU-11912</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="31025">LU-6824</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="57210">LU-12892</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="62419">LU-14345</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="64546">LU-14734</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="55890">LU-12406</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="49558">LU-10329</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|i004kf:</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>