<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:09:26 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-7501] inconsistencies between &quot;lfs find&quot;, &quot;lfs getstripe&quot;, &quot;lfs setstripe&quot;, &quot;lfs setdirstripe&quot;</title>
                <link>https://jira.whamcloud.com/browse/LU-7501</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;There are a number of inconsistencies in the command-line options between &lt;tt&gt;lfs find&lt;/tt&gt;, &lt;tt&gt;lfs getstripe&lt;/tt&gt;, and &lt;tt&gt;lfs setstripe&lt;/tt&gt;/&lt;tt&gt;lfs migrate&lt;/tt&gt; which are confusing and should be fixed, in a compatible manner, but deprecating the old options.&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&lt;tt&gt;lfs find&lt;/tt&gt; and &lt;tt&gt;lfs migrate&lt;/tt&gt; use &lt;tt&gt;&amp;#45;m&lt;/tt&gt; to for mdt_index, but &lt;tt&gt;lfs getstripe&lt;/tt&gt; uses &lt;tt&gt;&amp;#45;M&lt;/tt&gt; to indicate mdt_index.  getstripe should use &lt;tt&gt;&amp;#45;m&lt;/tt&gt; and deprecate &lt;tt&gt;&amp;#45;M&lt;/tt&gt;, since find uses &lt;tt&gt;-M&lt;/tt&gt; for mtime.&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;lfs setstripe&lt;/tt&gt; uses &lt;tt&gt;&amp;#45;&amp;#45;ost&amp;#45;list&lt;/tt&gt;, but &lt;tt&gt;lfs find&lt;/tt&gt; and &lt;tt&gt;lfs getstripe&lt;/tt&gt; uses for &lt;tt&gt;&amp;#45;&amp;#45;ost&lt;/tt&gt;, but they are all conceptually the same thing.  setstripe should just use &lt;tt&gt;&amp;#45;&amp;#45;ost&lt;/tt&gt; for this, and deprecate &lt;tt&gt;&amp;#45;&amp;#45;ost&amp;#45;list&lt;/tt&gt; as this option has only been around for a short time.&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;lfs find&lt;/tt&gt; uses &lt;tt&gt;&amp;#45;&amp;#45;mdt&lt;/tt&gt; to search for a specific mdt_index, but &lt;tt&gt;lfs getstripe&lt;/tt&gt; and &lt;tt&gt;lfs migrate&lt;/tt&gt; use &lt;tt&gt;&amp;#45;&amp;#45;mdt&amp;#45;index&lt;/tt&gt;.  find should add &lt;tt&gt;&amp;#45;&amp;#45;mdt&amp;#45;index&lt;/tt&gt; (and &lt;tt&gt;&amp;#45;&amp;#45;mdt&amp;#95;index&lt;/tt&gt; for ease of use, but not document it), and getstripe and migrate should add &lt;tt&gt;&amp;#45;&amp;#45;mdt&lt;/tt&gt;.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I&apos;m not sure of a clear winner between &lt;tt&gt;&amp;#45;&amp;#45;mdt&lt;/tt&gt; and &lt;tt&gt;&amp;#45;&amp;#45;mdt&amp;#45;index&lt;/tt&gt;, since I don&apos;t think &lt;tt&gt;&amp;#45;&amp;#45;mdt&lt;/tt&gt; is confusing and it parallels &lt;tt&gt;--ost&lt;/tt&gt; for OST selection, and is short and convenient.  Having both is not harmful I think.&lt;/p&gt;

&lt;p&gt;The &lt;tt&gt;lfs setdirstripe&lt;/tt&gt; and &lt;tt&gt;lfs getdirstripe&lt;/tt&gt; options should also be expanded to be consistent with those in &lt;tt&gt;lfs find&lt;/tt&gt; and &lt;tt&gt;lfs getstripe&lt;/tt&gt;, namely, add &lt;tt&gt;&amp;#45;&amp;#45;mdt&amp;#45;count|&amp;#45;c&lt;/tt&gt;, &lt;tt&gt;&amp;#45;&amp;#45;mdt&amp;#45;index|&amp;#45;m&lt;/tt&gt;, &lt;tt&gt;&amp;#45;&amp;#45;mdt&amp;#45;hash&lt;/tt&gt; as aliases for the existing &lt;tt&gt;&amp;#45;&amp;#45;count|&amp;#45;c&lt;/tt&gt; and &lt;tt&gt;&amp;#45;&amp;#45;index|&amp;#45;i&lt;/tt&gt; and &lt;tt&gt;&amp;#45;&amp;#45;hash&amp;#45;type|&amp;#45;t&lt;/tt&gt; options.  The long &lt;tt&gt;-&lt;del&gt;count&lt;/tt&gt; and &lt;tt&gt;&lt;/del&gt;-index&lt;/tt&gt; options should be deprecated with &lt;tt&gt;LUSTRE_VERSION_CODE&lt;/tt&gt; checks as they were for &lt;tt&gt;lfs_setstripe()&lt;/tt&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="33388">LU-7501</key>
            <summary>inconsistencies between &quot;lfs find&quot;, &quot;lfs getstripe&quot;, &quot;lfs setstripe&quot;, &quot;lfs setdirstripe&quot;</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="ys">Yang Sheng</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>dne3</label>
                    </labels>
                <created>Tue, 1 Dec 2015 08:49:45 +0000</created>
                <updated>Thu, 25 Nov 2021 22:59:39 +0000</updated>
                            <resolved>Thu, 20 Oct 2016 12:27:55 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.9.0</fixVersion>
                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="134894" author="pjones" created="Tue, 1 Dec 2015 18:17:24 +0000"  >&lt;p&gt;Yang Sheng&lt;/p&gt;

&lt;p&gt;Could you please investigate?&lt;/p&gt;

&lt;p&gt;THanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="165503" author="adilger" created="Fri, 9 Sep 2016 17:38:26 +0000"  >&lt;p&gt;Yang Sheng, could you please take some time to make a patch for this issue.  &lt;/p&gt;</comment>
                            <comment id="166073" author="ys" created="Wed, 14 Sep 2016 20:18:24 +0000"  >&lt;p&gt;Hi, Andreas,&lt;/p&gt;

&lt;p&gt;I&apos;ll produce a patch for it asap.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
YangSheng&lt;/p&gt;</comment>
                            <comment id="166318" author="gerrit" created="Sun, 18 Sep 2016 11:43:49 +0000"  >&lt;p&gt;Yang Sheng (yang.sheng@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/22581&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/22581&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7501&quot; title=&quot;inconsistencies between &amp;quot;lfs find&amp;quot;, &amp;quot;lfs getstripe&amp;quot;, &amp;quot;lfs setstripe&amp;quot;, &amp;quot;lfs setdirstripe&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7501&quot;&gt;&lt;del&gt;LU-7501&lt;/del&gt;&lt;/a&gt; utils: keep lfs arguments consistently&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: de2f76c2120e36cb761574513d827c681f73416f&lt;/p&gt;</comment>
                            <comment id="170401" author="gerrit" created="Thu, 20 Oct 2016 10:38:20 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/22581/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/22581/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7501&quot; title=&quot;inconsistencies between &amp;quot;lfs find&amp;quot;, &amp;quot;lfs getstripe&amp;quot;, &amp;quot;lfs setstripe&amp;quot;, &amp;quot;lfs setdirstripe&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7501&quot;&gt;&lt;del&gt;LU-7501&lt;/del&gt;&lt;/a&gt; utils: keep lfs arguments consistent&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: cdeb2f3a56e89941e6af0c83929617ed52b8cb7a&lt;/p&gt;</comment>
                            <comment id="170418" author="pjones" created="Thu, 20 Oct 2016 12:27:55 +0000"  >&lt;p&gt;Landed for 2.9&lt;/p&gt;</comment>
                            <comment id="215875" author="gerrit" created="Sat, 9 Dec 2017 11:34:37 +0000"  >&lt;p&gt;Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/30464&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30464&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7501&quot; title=&quot;inconsistencies between &amp;quot;lfs find&amp;quot;, &amp;quot;lfs getstripe&amp;quot;, &amp;quot;lfs setstripe&amp;quot;, &amp;quot;lfs setdirstripe&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7501&quot;&gt;&lt;del&gt;LU-7501&lt;/del&gt;&lt;/a&gt; utils: split getstripe and find from lfs.1&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 5e8c89444161033384b96c6bc1e6d953903a698e&lt;/p&gt;</comment>
                            <comment id="220057" author="gerrit" created="Tue, 6 Feb 2018 04:27:06 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/28592/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/28592/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7501&quot; title=&quot;inconsistencies between &amp;quot;lfs find&amp;quot;, &amp;quot;lfs getstripe&amp;quot;, &amp;quot;lfs setstripe&amp;quot;, &amp;quot;lfs setdirstripe&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7501&quot;&gt;&lt;del&gt;LU-7501&lt;/del&gt;&lt;/a&gt; utils: clean up lfs argument handling/docs&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 5fee5b700d1e683d165fc0ef0ae88c2a0ab83681&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="45626">LU-9378</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="33389">LU-7502</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="33390">LU-7503</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="51533">LU-10856</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="54669">LU-11891</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="67329">LU-15276</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|hzxuk7:</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>