<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:25:21 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-9342] It is possible that user defined LOVEA contains uninstantiated flag</title>
                <link>https://jira.whamcloud.com/browse/LU-9342</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for bobijam &amp;lt;bobijam.xu@intel.com&amp;gt;&lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/67af86be-2027-11e7-9073-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/67af86be-2027-11e7-9073-5254006e85c2&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The sub-test test_184d failed with the following error:&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;swap /mnt/lustre/d184d.sanity/f184d.sanity-1 /mnt/lustre/d184d.sanity/f184d.sanity-2 layouts failed
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Info required for matching: sanity 184d&lt;/p&gt;

&lt;p&gt;If &quot;lfs swap&quot; tries to swap a file with partially instantiated layout, the partial LOVEA will passed into lod_declare_xattr_set()&lt;del&gt;&amp;gt;lod_declare_striped_object()&lt;/del&gt;&amp;gt;lod_prepare_create()&lt;del&gt;&amp;gt;lod_qos_parse_config()&lt;/del&gt;&amp;gt;lod_use_defined_striping(), so that lod_use_defined_striping() also need to take care of uninstantiated component entry.&lt;/p&gt;</description>
                <environment></environment>
        <key id="45503">LU-9342</key>
            <summary>It is possible that user defined LOVEA contains uninstantiated flag</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="bobijam">Zhenyu Xu</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                            <label>pfl</label>
                    </labels>
                <created>Fri, 14 Apr 2017 07:37:28 +0000</created>
                <updated>Mon, 1 May 2017 21:42:58 +0000</updated>
                            <resolved>Fri, 28 Apr 2017 22:21:47 +0000</resolved>
                                    <version>Lustre 2.10.0</version>
                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="192070" author="gerrit" created="Fri, 14 Apr 2017 08:09:02 +0000"  >&lt;p&gt;Bobi Jam (bobijam@hotmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/26619&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26619&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9342&quot; title=&quot;It is possible that user defined LOVEA contains uninstantiated flag&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9342&quot;&gt;&lt;del&gt;LU-9342&lt;/del&gt;&lt;/a&gt; pfl: handle uninited component in user defined LOVEA&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 97230fa266af407c09b3567df9093049695e2636&lt;/p&gt;</comment>
                            <comment id="192131" author="gerrit" created="Fri, 14 Apr 2017 19:37:46 +0000"  >&lt;p&gt;Bobi Jam (bobijam@hotmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/26635&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26635&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9342&quot; title=&quot;It is possible that user defined LOVEA contains uninstantiated flag&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9342&quot;&gt;&lt;del&gt;LU-9342&lt;/del&gt;&lt;/a&gt; pfl: handle uninited component in user defined LOVEA&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: pfl&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 45e8b92d088a602893f29c72fa4cdec69ce48ff4&lt;/p&gt;</comment>
                            <comment id="192842" author="adilger" created="Thu, 20 Apr 2017 14:47:33 +0000"  >&lt;p&gt;I think the opposite problem is also true - if someone uses getxattr() + setxattr() in userspace to copy a layout to a new file (e.g. tar), then it will copy the &lt;tt&gt;LCME_FL_INIT&lt;/tt&gt; flag to the new file. The llite or MDS setxattr handler needs to clear the INIT flag so that the MDS handles this properly. &lt;/p&gt;</comment>
                            <comment id="192923" author="adilger" created="Thu, 20 Apr 2017 20:14:41 +0000"  >&lt;p&gt;It looks like &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9346&quot; title=&quot;replay-single: replay of PFL file open failure&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9346&quot;&gt;&lt;del&gt;LU-9346&lt;/del&gt;&lt;/a&gt; is addressing the issue of &lt;tt&gt;LCME_FL_INIT&lt;/tt&gt; being set in the layout?&lt;/p&gt;</comment>
                            <comment id="193175" author="bobijam" created="Mon, 24 Apr 2017 05:38:33 +0000"  >&lt;p&gt;getxattr() get the EA buffer, and the magic of the LOVEA getting from the buffer surely doesn&apos;t contain&#160;LOV_MAGIC_DEF (which is a magic only set in the memory buffer, working with LCME_FL_INIT for MDS to inform LOD not to create OST objects), and when this LOVEA buffer passed to MDS with setxattr, MDS will treat it as a LOVEA template, and will create OST objects for the new file.&lt;/p&gt;

&lt;p&gt;Specifically, patch of this ticket fixes&#160;lod_use_defined_striping(), while the getxattr()+setxattr() call path comes to lod_qos_parse_config() will not call lod_use_defined_striping(), but go through it, creating lod_object::ldo_comp_entries according to the layout template without heeding the overly detailed information getting from the old file (including the LCME_FL_INIT flag and ost IDs).&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="193949" author="gerrit" created="Fri, 28 Apr 2017 20:36:31 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/26619/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26619/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9342&quot; title=&quot;It is possible that user defined LOVEA contains uninstantiated flag&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9342&quot;&gt;&lt;del&gt;LU-9342&lt;/del&gt;&lt;/a&gt; pfl: handle uninited component in user defined LOVEA&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: cbd9992d513ec4d54fae97182747b2e31681a36e&lt;/p&gt;</comment>
                            <comment id="193970" author="pjones" created="Fri, 28 Apr 2017 22:21:47 +0000"  >&lt;p&gt;Landed for 2.10&lt;/p&gt;</comment>
                            <comment id="194085" author="gerrit" created="Mon, 1 May 2017 21:42:58 +0000"  >&lt;p&gt;Jinshan Xiong (jinshan.xiong@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/26635/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26635/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9342&quot; title=&quot;It is possible that user defined LOVEA contains uninstantiated flag&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9342&quot;&gt;&lt;del&gt;LU-9342&lt;/del&gt;&lt;/a&gt; pfl: handle uninited component in user defined LOVEA&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: pfl&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 2c031f6651a5be4f8c5b58f986b584d7821b0f2b&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="45512">LU-9346</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="42916">LU-8998</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="45517">LU-9349</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|hzza8n:</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>