<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:28:58 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-9756] sanity test 184d fails with &#8216;lovea  *-E -1 -c -1 * !=  * -E -1 -c 6 * &#8216;</title>
                <link>https://jira.whamcloud.com/browse/LU-9756</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;sanity test_184d fails when there is a default composite layout set on $DIR with:&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;sanity test_184d: @@@@@@ FAIL: lovea  -E 2097152 -c 1 -S 1048576 -i 0 -E -1 -c -1 -S 1048576 -i -1 !=  -E 2097152 -c 1 -S 1048576 -i 0 -E -1 -c 6 -S 1048576 -i 1 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;More specifically, when you set a composite layout on $DIR and run sanity.sh test 184d will fail when the number of stripes set on a component is -1. &lt;/p&gt;

&lt;p&gt;Here&#8217;s essentially what test 184a  and why it fails when a composite file layout is set on mount point:&lt;/p&gt;

&lt;p&gt;1. touch a file called swapfile1. The last component of the file is uninstantiated and you will see lcme_flags = 0 and  lmm_stripe_count = -1 for the last component which matches the composite file layout on the parent dir.&lt;br/&gt;
2. create another file with &#8220;./openfile -f O_CREAT:O_LOV_DELAY_CREATE /lustre/scratch/swapfile2&#8221;&lt;br/&gt;
3. now swap the layouts with &#8220;lfs swap_layouts /lustre/scratch/swapfile1 /lustre/scratch/swapfile2&#8221;&lt;br/&gt;
4. The swap works, but the last component of the swapped file, swapfile2, is now instantiated; we see lcme_flags =init and lmm_stripe_count = 6 for the last component of swapfile2.&lt;/p&gt;

&lt;p&gt;So, sanity test 184a fails because of the differences in the lmm_stripe_count values; &#8220;-1&#8221; versus &#8220;6&#8221;. &lt;/p&gt;

&lt;p&gt;Bobi Jam explained this as a &#8220;&#8230; current PFL swap limitation (initializing all objects before getting the group lock), so that after swap, those un-initialized component got initialized.&#8221;&lt;/p&gt;

&lt;p&gt;Andreas Dilger commented: My preference would be to avoid instantiating the layout of files during swap, but there is a bug with doing a group lock on uninstantiated components, and the workaround is to force all components to be instantiated.&lt;/p&gt;

&lt;p&gt;Logs for one of these failures is at&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/4db252a4-5ba1-11e7-8a1b-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/4db252a4-5ba1-11e7-8a1b-5254006e85c2&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="47174">LU-9756</key>
            <summary>sanity test 184d fails with &#8216;lovea  *-E -1 -c -1 * !=  * -E -1 -c 6 * &#8216;</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="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="jamesanunez">James Nunez</reporter>
                        <labels>
                            <label>pfl</label>
                    </labels>
                <created>Mon, 10 Jul 2017 20:08:06 +0000</created>
                <updated>Mon, 10 Jul 2017 22:07:01 +0000</updated>
                                            <version>Lustre 2.10.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="201601" author="adilger" created="Mon, 10 Jul 2017 22:07:01 +0000"  >&lt;p&gt;This is basically the same issue as &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9479&quot; title=&quot;sanity test 184d 244: don&amp;#39;t instantiate PFL component when taking group lock &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9479&quot;&gt;LU-9479&lt;/a&gt;.  In the migrate case, there is no value to instantiate all of the components, since the source file will be destroyed after migration is complete, and the target (victim) file is not yet accessible in the filesystem namespace. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="45980">LU-9479</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="45506">LU-9344</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|hzzgdr:</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>