<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:21:53 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-15856] &quot;lfs setdirstripe -D ... &lt;dir&gt;&quot; should create directory if missing</title>
                <link>https://jira.whamcloud.com/browse/LU-15856</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Currently, &quot;&lt;tt&gt;lfs setdirstripe -D &amp;lt;layout&amp;gt; &amp;lt;dir&amp;gt;&lt;/tt&gt;&quot; will fail if &quot;&lt;tt&gt;&amp;lt;dir&amp;gt;&lt;/tt&gt;&quot; does not already exist.  However, from a usability point of view, it would make sense for the &quot;&lt;tt&gt;lfs&lt;/tt&gt;&quot; utility to create the target &quot;&lt;tt&gt;&amp;lt;dir&amp;gt;&lt;/tt&gt;&quot; if it does not yet exist using the specified &quot;&lt;tt&gt;&amp;lt;layout&amp;gt;&lt;/tt&gt;&quot;, and then set the same default &quot;&lt;tt&gt;&amp;lt;layout&amp;gt;&lt;/tt&gt;&quot; on the directory for subdirectories created therein.  It doesn&apos;t make sense to force the user to run the command twice to do this.&lt;/p&gt;

&lt;p&gt;In the ideal case, the client could send a single &quot;&lt;tt&gt;MDS_REINT&lt;/tt&gt;&quot; RPC to the MDS with &quot;&lt;tt&gt;&amp;lt;layout&amp;gt;&lt;/tt&gt;&quot;, the same as &quot;&lt;tt&gt;lfs mkdir &amp;lt;layout&amp;gt; &amp;lt;dir&amp;gt;&lt;/tt&gt;&quot; and just add a flag that indicates &quot;store the same layout as the default&quot;, rather than having to send two separate RPCs.  However, for compatibility with older MDS nodes, and to backport this fix to older releases, it makes sense for &quot;&lt;tt&gt;lfs_setdirstripe()&lt;/tt&gt;&quot; to handle this in userspace if the &quot;&lt;tt&gt;llapi_dir_set_default_lmv()&lt;/tt&gt;&quot; command fails with &quot;&lt;tt&gt;-ENOENT&lt;/tt&gt;&quot; by calling &quot;&lt;tt&gt;llapi_dir_create()&lt;/tt&gt;&quot; and then retrying &quot;&lt;tt&gt;llapi_dir_set_default_lmv()&lt;/tt&gt;&quot; once.&lt;/p&gt;</description>
                <environment></environment>
        <key id="70299">LU-15856</key>
            <summary>&quot;lfs setdirstripe -D ... &lt;dir&gt;&quot; should create directory if missing</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="laisiyao">Lai Siyao</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Fri, 13 May 2022 18:35:01 +0000</created>
                <updated>Thu, 5 Jan 2023 18:48:09 +0000</updated>
                                            <version>Lustre 2.14.0</version>
                    <version>Lustre 2.12.4</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                <issuelinks>
                            <issuelinktype id="10324">
                    <name>Cloners</name>
                                            <outwardlinks description="Clones">
                                        <issuelink>
            <issuekey id="59192">LU-13560</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="58656">LU-13417</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="51154">LU-10784</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="25084">LU-5170</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|i02py7:</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>