<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:54:23 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-12643] PFL layout don&apos;t inherit correctly from default layout.</title>
                <link>https://jira.whamcloud.com/browse/LU-12643</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;it looks PFL layout don&apos;t inherit correctly.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
[root@rhel7-1 utils]# ./lfs getstripe /mnt/lustre
/mnt/lustre
stripe_count:  1 stripe_size:   1048576 pattern:       0 stripe_offset: -1

[root@rhel7-1 utils]# ./lfs setstripe -c -1 -E -1 /mnt/lustre
[root@rhel7-1 utils]# mkdir /mnt/lustre/testdir
[root@rhel7-1 utils]# ./lfs getstripe /mnt/lustre
/mnt/lustre
  lcm_layout_gen:    0
  lcm_mirror_count:  1
  lcm_entry_count:   1
    lcme_id:             N/A
    lcme_mirror_id:      N/A
    lcme_flags:          0
    lcme_extent.e_start: 0
    lcme_extent.e_end:   EOF
      stripe_count:  -1       stripe_size:   1048576       pattern:       raid0       stripe_offset: -1

/mnt/lustre/testdir
stripe_count:  1 stripe_size:   1048576 pattern:       70 stripe_offset: -1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;2.12 have same bug, 2.11 inherit this layout correctly.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
[root@rhel7-1 utils]# ./lfs setstripe -c -1 -E -1 /mnt/lustre
[root@rhel7-1 utils]# mkdir /mnt/lustre/testdir
[root@rhel7-1 utils]# ./lfs getstripe /mnt/lustre
/mnt/lustre
  lcm_layout_gen:    0
  lcm_mirror_count:  1
  lcm_entry_count:   1
    lcme_id:             N/A
    lcme_mirror_id:      N/A
    lcme_flags:          0
    lcme_extent.e_start: 0
    lcme_extent.e_end:   EOF
      stripe_count:  -1       stripe_size:   1048576       pattern:       raid0       stripe_offset: -1

/mnt/lustre/testdir
  lcm_layout_gen:    0
  lcm_mirror_count:  1
  lcm_entry_count:   1
    lcme_id:             N/A
    lcme_mirror_id:      N/A
    lcme_flags:          0
    lcme_extent.e_start: 0
    lcme_extent.e_end:   EOF
      stripe_count:  -1       stripe_size:   1048576       pattern:       raid0       stripe_offset: -1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="56608">LU-12643</key>
            <summary>PFL layout don&apos;t inherit correctly from default layout.</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="shadow">Alexey Lyashkov</reporter>
                        <labels>
                    </labels>
                <created>Thu, 8 Aug 2019 11:34:56 +0000</created>
                <updated>Sat, 28 Dec 2019 08:11:19 +0000</updated>
                                            <version>Lustre 2.12.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="252812" author="adilger" created="Fri, 9 Aug 2019 04:00:00 +0000"  >&lt;p&gt;It seems like this might be a duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11656&quot; title=&quot;&amp;quot;lfs getstripe&amp;quot; on directory does not show default root layout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11656&quot;&gt;&lt;del&gt;LU-11656&lt;/del&gt;&lt;/a&gt;? &lt;/p&gt;

&lt;p&gt;One problem is that &quot;&lt;tt&gt;lfs getstripe /mnt/dir/testdir&lt;/tt&gt;&quot; does not print the layout from the root directory if &lt;tt&gt;testdir&lt;/tt&gt; does not have an explicit copy of the default directory layout, even though files created in that directory will inherit the default layout from the root directory. &lt;/p&gt;

&lt;p&gt;The reason that 2.12/master &lt;em&gt;seems&lt;/em&gt; broken is that &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11739&quot; title=&quot;Don&amp;#39;t inherit default layout from root for new subdirectories&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11739&quot;&gt;&lt;del&gt;LU-11739&lt;/del&gt;&lt;/a&gt; stopped explicitly copying the default layout from the root directory for files created under root.  That is an improvement, because if the root directory layout is changed, we don&apos;t have to go around and copy the new default layout to hundreds or thousands of existing directories that made an explicit copy. &lt;/p&gt;</comment>
                            <comment id="252816" author="adilger" created="Fri, 9 Aug 2019 04:02:41 +0000"  >&lt;p&gt;In your above examples, please try creating a file under &lt;tt&gt;testdir&lt;/tt&gt; to see if the layout is properly inherited.  Conversely, change the filesystem default layout on the root directory and create a second file.  2.12 should correctly use the new default, while 2.11 will incorrectly use the old default.&lt;/p&gt;

&lt;p&gt;The correct solution here is to fix &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11656&quot; title=&quot;&amp;quot;lfs getstripe&amp;quot; on directory does not show default root layout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11656&quot;&gt;&lt;del&gt;LU-11656&lt;/del&gt;&lt;/a&gt;, so that &quot;&lt;tt&gt;lfs getstripe -d /mnt/lustre/testdir&lt;/tt&gt;&quot; correctly gets the default layout from the root directory.&lt;/p&gt;</comment>
                            <comment id="260434" author="adilger" created="Sat, 28 Dec 2019 08:04:16 +0000"  >&lt;p&gt;Shadow, any update on this ticket?  The &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11656&quot; title=&quot;&amp;quot;lfs getstripe&amp;quot; on directory does not show default root layout&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11656&quot;&gt;&lt;del&gt;LU-11656&lt;/del&gt;&lt;/a&gt; patch has landed, so master should show the proper default layout for subdirectories.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="53999">LU-11656</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="54212">LU-11739</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|i00kw7:</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>