<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:17:12 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-15307] Option to set max directory stripe count per filesystem</title>
                <link>https://jira.whamcloud.com/browse/LU-15307</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;We have users that will set directory stripe count by using &quot;&lt;tt&gt;-1&lt;/tt&gt;&quot; as in &lt;br/&gt;
&quot;&lt;tt&gt;lfs setdirstripe -c -1&lt;/tt&gt;&quot;.&lt;/p&gt;

&lt;p&gt;Filesystem with small number of MDTs (4-8) this was ok. But as the MDT count gets lager (&amp;gt;32) this is not always desirable. Most of the time we don&apos;t want users to set directory stripe counts so large. We would like config option for max default directory size setting for (&quot;&lt;tt&gt;lfs setdirstripe -c -1&lt;/tt&gt;&quot;). But would still like the ability to allow setting stripe counts larger for those who explicitly request it, but not unintentionally.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="67407">LU-15307</key>
            <summary>Option to set max directory stripe count per filesystem</summary>
                <type id="2" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11311&amp;avatarType=issuetype">New Feature</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="flei">Feng Lei </assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>easy</label>
                    </labels>
                <created>Thu, 2 Dec 2021 06:27:59 +0000</created>
                <updated>Thu, 31 Mar 2022 22:14:03 +0000</updated>
                            <resolved>Wed, 26 Jan 2022 14:32:35 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="319925" author="adilger" created="Thu, 2 Dec 2021 21:04:50 +0000"  >&lt;p&gt;In addition to limiting the stripe count used when selecting &quot;&lt;tt&gt;-c -1&lt;/tt&gt;&quot; it also makes sense to return an error from &quot;&lt;tt&gt;lfs setdirstripe&lt;/tt&gt;&quot; when creating a &lt;b&gt;default&lt;/b&gt; directory striping that has a stripe count &amp;gt; 1 but does not have max-inherit set.  There have repeatedly been problems hit when a filesystem is configured with &quot;&lt;tt&gt;lfs setdirstripe -c N -D $MOUNT&lt;/tt&gt;&quot; (for any &lt;tt&gt;N&lt;/tt&gt; &amp;gt; 1) causing &lt;tt&gt;REMOTE_PARENT_DIR&lt;/tt&gt; to be filled or have tens of millions of entries, excessive MDT inode usage, performance issues, etc.&lt;/p&gt;

&lt;p&gt;With automatic DNE MDT space balancing (&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13440&quot; title=&quot;DNE3: limit directory default layout inheritance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13440&quot;&gt;&lt;del&gt;LU-13440&lt;/del&gt;&lt;/a&gt;) the need to stripe directories by default is almost completely eliminated.  It should still be possible to set this by explicitly specifying &lt;tt&gt;--max-inherit=N&lt;/tt&gt;, but this is too dangerous to let users shoot themselves in the foot by accident by what &quot;seems&quot; like a good idea but is actually very bad over time.&lt;/p&gt;</comment>
                            <comment id="319967" author="flei" created="Fri, 3 Dec 2021 11:04:51 +0000"  >&lt;p&gt;Split the requirement of &lt;tt&gt;lfs setdirstripe&lt;/tt&gt; command to &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15314&quot; title=&quot;set default max-inherit to 3 for default dir stripe policy if stripe count is not 0 or 1&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15314&quot;&gt;&lt;del&gt;LU-15314&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="319969" author="gerrit" created="Fri, 3 Dec 2021 11:12:22 +0000"  >&lt;p&gt;&quot;Feng, Lei &amp;lt;flei@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/45724&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45724&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15307&quot; title=&quot;Option to set max directory stripe count per filesystem&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15307&quot;&gt;&lt;del&gt;LU-15307&lt;/del&gt;&lt;/a&gt; lod: add option to set max dir stripe count&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 5aa4307f3d5d058f09f1636180b541c870b44031&lt;/p&gt;</comment>
                            <comment id="323934" author="gerrit" created="Wed, 26 Jan 2022 05:12:29 +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/45724/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45724/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15307&quot; title=&quot;Option to set max directory stripe count per filesystem&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15307&quot;&gt;&lt;del&gt;LU-15307&lt;/del&gt;&lt;/a&gt; lod: add option to set max dir stripe count&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 09c83ef26cca5b27bfbc05538c2df93d5a396fb7&lt;/p&gt;</comment>
                            <comment id="324012" author="pjones" created="Wed, 26 Jan 2022 14:32:35 +0000"  >&lt;p&gt;Landed for 2.15&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10324">
                    <name>Cloners</name>
                                            <outwardlinks description="Clones">
                                        <issuelink>
            <issuekey id="44159">LU-9162</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="49558">LU-10329</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="67430">LU-15314</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="68228">LUDOC-501</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|i02bcv:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>