<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:36: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-10561] &quot;lfs mirror create -N --parent /path/file&quot; does not inherit its parent&apos;s layout</title>
                <link>https://jira.whamcloud.com/browse/LU-10561</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&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;# lfs getstripe -d /mnt/lustre/dir
stripe_count:  2 stripe_size:   4194304 pattern:       raid0 stripe_offset: 1

# lfs mirror create -N --parent /mnt/lustre/dir/file3

# lfs getstripe /mnt/lustre/dir/file
/mnt/lustre/dir/file
  lcm_layout_gen:    1
  lcm_mirror_count:  1
  lcm_entry_count:   1
    lcme_id:             1
    lcme_flags:          init
    lcme_extent.e_start: 0
    lcme_extent.e_end:   EOF
      lmm_stripe_count:  1
      lmm_stripe_size:   1048576
      lmm_pattern:       raid0
      lmm_layout_gen:    0
      lmm_stripe_offset: 2
      lmm_objects:
      - 0: { l_ost_idx: 2, l_fid: [0x100020000:0x4:0x0] }

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;My thought about the inheritance is:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;If parent is a plain directory, the &quot;-N --parent&quot; should create a mirror contains a single component covering [0, eof) and inherit its stripe options.&lt;/li&gt;
	&lt;li&gt;If parent is a PFL directory, newly created mirror should inherit the whole components of its parent directory.&lt;/li&gt;
	&lt;li&gt;If parent is a FLR directory, newly created mirror should inherit one of the mirror of its parent.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="50387">LU-10561</key>
            <summary>&quot;lfs mirror create -N --parent /path/file&quot; does not inherit its parent&apos;s layout</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="yujian">Jian Yu</assignee>
                                    <reporter username="bobijam">Zhenyu Xu</reporter>
                        <labels>
                            <label>FLR</label>
                    </labels>
                <created>Thu, 25 Jan 2018 06:26:35 +0000</created>
                <updated>Thu, 15 Mar 2018 20:52:56 +0000</updated>
                            <resolved>Tue, 27 Feb 2018 04:32:01 +0000</resolved>
                                    <version>Lustre 2.11.0</version>
                                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="219596" author="yujian" created="Wed, 31 Jan 2018 22:04:29 +0000"  >&lt;p&gt;&quot;--parent&quot; option for &quot;lfs mirror create/extend&quot; command was originally designed to use default stripe options inherited from parent directory. However, if parent directory has composite layout, there will be inconsistency to choose the stripe options from which component to inherit. And if there is any other option specified, it&apos;s also inconsistent to inherit the layout of parent directory. So, we&apos;d like to define the policy as follows:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;If there is no option specified, then the file/directory to be created will inherit the layout of parent directory.&lt;/li&gt;
	&lt;li&gt;If there is any option specified, then the file/directory to be created will use the specified layout and inherit unspecified attributes from filesystem-wide default values.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;With the above policy, we&apos;ll remove &quot;&amp;#45;&amp;#45;parent&quot; option and support specifying &quot;none&quot; to &quot;--pool|-p&quot; option to clear the pool name.&lt;/p&gt;</comment>
                            <comment id="220952" author="gerrit" created="Wed, 14 Feb 2018 06:31:27 +0000"  >&lt;p&gt;Jian Yu (jian.yu@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/31298&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31298&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10561&quot; title=&quot;&amp;quot;lfs mirror create -N --parent /path/file&amp;quot; does not inherit its parent&amp;#39;s layout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10561&quot;&gt;&lt;del&gt;LU-10561&lt;/del&gt;&lt;/a&gt; flr: remove &quot;--parent&quot; option from lfs mirror command&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 470fcdf189708fb3e99094a2ebea118812b6d7a0&lt;/p&gt;</comment>
                            <comment id="221214" author="jay" created="Fri, 16 Feb 2018 21:09:22 +0000"  >&lt;p&gt;This patch should be landed to 2.11 because it changes the command line utility. We don&apos;t want to introduce any confusion to the usage of mirror creation.&lt;/p&gt;</comment>
                            <comment id="221750" author="gerrit" created="Tue, 27 Feb 2018 03:43:43 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/31298/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31298/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10561&quot; title=&quot;&amp;quot;lfs mirror create -N --parent /path/file&amp;quot; does not inherit its parent&amp;#39;s layout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10561&quot;&gt;&lt;del&gt;LU-10561&lt;/del&gt;&lt;/a&gt; flr: remove &quot;--parent&quot; option from lfs mirror command&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 905d37787638b94d02e58798f47677230253274a&lt;/p&gt;</comment>
                            <comment id="221778" author="pjones" created="Tue, 27 Feb 2018 04:32:01 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="47229">LU-9771</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|hzzron:</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>