<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:16:56 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-15276] DNE3: &quot;lfs find&quot; able to check default directory and file layout</title>
                <link>https://jira.whamcloud.com/browse/LU-15276</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;It would be useful for &quot;&lt;tt&gt;lfs find&lt;/tt&gt;&quot; to be able to check directories for the default file or directory layout, so that it is possible to scan a filesystem for directories that have explicit default layouts, like:&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;client# lfs find /mnt/testfs -type d --default --mdt-count +1 -print0 | xargs -0 lfs setdirstripe --delete
client# lfs find /mnt/testfs -type d --default -m 2 -print0 | xargs -0 lfs setdirstripe --delete
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Unfortunately, &quot;&lt;tt&gt;&amp;#45;D&lt;/tt&gt;&quot; is already used by &quot;&lt;tt&gt;lfs find&lt;/tt&gt;&quot; as the short option for &lt;tt&gt;&amp;#45;&amp;#45;maxdepth&lt;/tt&gt;.  Note also that the &quot;&lt;tt&gt;&amp;#45;&amp;#45;delete|&amp;#45;d&lt;/tt&gt;&quot; option is not listed in the &quot;&lt;tt&gt;lfs setdirstripe&lt;/tt&gt;&quot; usage message and should be added.  At least it is already in the &lt;tt&gt;lfs&amp;#45;setdirstripe.1&lt;/tt&gt; man page.&lt;/p&gt;

&lt;p&gt;I like the idea of using the same &lt;tt&gt;&amp;#45;&amp;#45;default&lt;/tt&gt; long option name as &quot;&lt;tt&gt;lfs setdirstripe&lt;/tt&gt;&quot; has, but to be able to distinguish searching for default file layouts from default directory layouts, do we need to have separate &quot;&lt;tt&gt;&amp;#45;&amp;#45;mdt&amp;#45;default&lt;/tt&gt;&quot; and &quot;&lt;tt&gt;&amp;#45;&amp;#45;ost&amp;#45;default&lt;/tt&gt;&quot; options?  For the &lt;b&gt;long&lt;/b&gt; options it is unambiguous what is intended, but the &lt;tt&gt;&amp;#45;c&lt;/tt&gt; and &lt;tt&gt;&amp;#45;i&lt;/tt&gt; short options overlap between &quot;&lt;tt&gt;lfs setstripe&lt;/tt&gt;&quot; and &quot;&lt;tt&gt;lfs setdirstripe&lt;/tt&gt;&quot;.  However, &quot;&lt;tt&gt;lfs find&lt;/tt&gt;&quot; can already use &lt;tt&gt;&amp;#45;m&lt;/tt&gt; instead of &lt;tt&gt;-i&lt;/tt&gt;, and similarly &lt;tt&gt;-T&lt;/tt&gt; can be used instead of &lt;tt&gt;-c&lt;/tt&gt;, so I don&apos;t think there is a problem.&lt;/p&gt;</description>
                <environment></environment>
        <key id="67329">LU-15276</key>
            <summary>DNE3: &quot;lfs find&quot; able to check default directory and file layout</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>medium</label>
                    </labels>
                <created>Thu, 25 Nov 2021 01:04:23 +0000</created>
                <updated>Mon, 31 Jan 2022 01:35:28 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="25084">LU-5170</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="33388">LU-7501</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="68412">LU-15504</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="33365">LU-7495</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="33389">LU-7502</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="49717">LU-10378</issuekey>
        </issuelink>
                            </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|i02avj:</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>