<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:01:10 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-13426] &quot;lfs migrate&quot; on DoM component clobbers LOV EA FID</title>
                <link>https://jira.whamcloud.com/browse/LU-13426</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Running the following test breaks the FID stored in the LOV EA. I was hoping that this FID would remain constant over the life of the file in order to implement &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7607&quot; title=&quot;Preserve inode number after MDT migration &quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7607&quot;&gt;LU-7607&lt;/a&gt; &quot;&lt;tt&gt;Preserve inode number after MDT migration&lt;/tt&gt;&quot;, but it seems that migrating a file with a DOM component somehow breaks the layout in the LOV EA:&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;tests# lfs setstripe -E 1M -L mdt -E 1G -c 3 -E eof /mnt/testfs/tt
tests# dd if=/dev/zero of=/mnt/testfs/tt bs=1M count=2
tests# lfs path2fid /mnt/testfs/tt
[0x200001b72:0x10c07:0x0]
tests# lfs getstripe -v /mnt/testfs/tt
components:
  - lcme_id:             1
    lcme_extent.e_start: 0
    lcme_extent.e_end:   1048576
    sub_layout:
      lmm_seq:           0x200001b72
      lmm_object_id:     0x10c07
      lmm_fid:           [0x200001b72:0x10c07:0x0]
      lmm_stripe_count:  0
      lmm_pattern:       mdt
  - lcme_id:             2
    lcme_extent.e_start: 1048576
    lcme_extent.e_end:   1073741824
    sub_layout:
      lmm_seq:           0x200001b72
      lmm_object_id:     0x10c07
      lmm_fid:           [0x200001b72:0x10c07:0x0]
  - lcme_id:             3
    lcme_extent.e_start: 1073741824
    lcme_extent.e_end:   EOF
    sub_layout:
      lmm_seq:           0x200001b72
      lmm_object_id:     0x10c07
      lmm_fid:           [0x200001b72:0x10c07:0x0]

tests# lfs migrate -c 3 /mnt/testfs/tt
tests# lfs getstripe -v /mnt/testfs/tt
lmm_seq:           0
lmm_object_id:     0x3000000000005
lmm_fid:           [0x3000000000005:0x0:0x30000]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;As you can see, the FID is originally &lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;0x200001b72:0x10c07:0x0&amp;#93;&lt;/span&gt;&lt;/tt&gt; and that is also stored in the LOV EA (irrelevant lines cut out) for each component as &lt;tt&gt;lmm_fid:&lt;/tt&gt;, which is good.  If there is no DOM component, then &quot;&lt;tt&gt;lfs migrate -m&lt;/tt&gt;&quot; will not change the FID stored in the layout.  However, as can be seen with a DOM component, the &lt;tt&gt;lmm_fid:&lt;/tt&gt; is messed up.  It looks like it wasn&apos;t initialized in the target layout, and/or not copied over during layout swap.&lt;/p&gt;</description>
                <environment></environment>
        <key id="58682">LU-13426</key>
            <summary>&quot;lfs migrate&quot; on DoM component clobbers LOV EA FID</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="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="tappro">Mikhail Pershin</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>DoM2</label>
                            <label>LTS12</label>
                    </labels>
                <created>Wed, 8 Apr 2020 00:09:24 +0000</created>
                <updated>Fri, 9 Jul 2021 18:08:17 +0000</updated>
                            <resolved>Thu, 14 May 2020 16:26:23 +0000</resolved>
                                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="267123" author="tappro" created="Wed, 8 Apr 2020 07:00:44 +0000"  >&lt;p&gt;Andreas, I&apos;ve just checked that and the same problem exists for any PFL-&amp;gt;plain file migration&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;
# lfs setstripe -E 1M -c1 -E eof -c2 /mnt/lustre/norm
# dd &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt;=/dev/zero of=/mnt/lustre/norm bs=1M count=2
# lfs getstripe /mnt/lustre/norm -v
/mnt/lustre/norm
composite_header:
  lcm_magic:         0x0BD60BD0
  lcm_size:          264
  lcm_flags:         0
  lcm_layout_gen:    3
  lcm_mirror_count:  1
  lcm_entry_count:   2
components:
  - lcme_id:             1
    lcme_mirror_id:      0
    lcme_flags:          init
    lcme_extent.e_start: 0
    lcme_extent.e_end:   1048576
    lcme_offset:         128
    lcme_size:           56
    sub_layout:
      lmm_magic:         0x0BD10BD0
      lmm_seq:           0x200000401
      lmm_object_id:     0x4
      lmm_fid:           [0x200000401:0x4:0x0]

  - lcme_id:             2
    lcme_mirror_id:      0
    lcme_flags:          init
    lcme_extent.e_start: 1048576
    lcme_extent.e_end:   EOF
    lcme_offset:         184
    lcme_size:           80
    sub_layout:
      lmm_magic:         0x0BD10BD0
      lmm_seq:           0x200000401
      lmm_object_id:     0x4
      lmm_fid:           [0x200000401:0x4:0x0]

# lfs migrate -c2 /mnt/lustre/norm
# lfs getstripe /mnt/lustre/norm -v
/mnt/lustre/norm
lmm_magic:         0x0BD10BD0
lmm_seq:           0
lmm_object_id:     0x2000000000003
lmm_fid:           [0x2000000000003:0x0:0x20000]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It looks like generic problem while migrating to plain file from composite layout&lt;/p&gt;</comment>
                            <comment id="267130" author="gerrit" created="Wed, 8 Apr 2020 08:20:01 +0000"  >&lt;p&gt;Mike Pershin (mpershin@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/38172&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38172&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13426&quot; title=&quot;&amp;quot;lfs migrate&amp;quot; on DoM component clobbers LOV EA FID&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13426&quot;&gt;&lt;del&gt;LU-13426&lt;/del&gt;&lt;/a&gt; mdd: correctly swap OIs during migration&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 531a5c4e38dbc85e310f993fabec44fa17d227bf&lt;/p&gt;</comment>
                            <comment id="270166" author="gerrit" created="Thu, 14 May 2020 05:40:22 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/38172/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38172/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13426&quot; title=&quot;&amp;quot;lfs migrate&amp;quot; on DoM component clobbers LOV EA FID&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13426&quot;&gt;&lt;del&gt;LU-13426&lt;/del&gt;&lt;/a&gt; mdd: correctly swap OIs during migration&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e468c285e0d801e1f2ef6772e43df1465666c649&lt;/p&gt;</comment>
                            <comment id="270230" author="pjones" created="Thu, 14 May 2020 16:26:23 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&gt;</comment>
                            <comment id="306738" author="gerrit" created="Fri, 9 Jul 2021 18:08:17 +0000"  >&lt;p&gt;Etienne AUJAMES (eaujames@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/44202&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/44202&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13426&quot; title=&quot;&amp;quot;lfs migrate&amp;quot; on DoM component clobbers LOV EA FID&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13426&quot;&gt;&lt;del&gt;LU-13426&lt;/del&gt;&lt;/a&gt; mdd: correctly swap OIs during migration&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 2d245176951821607b1bebd70973c2af8941a34e&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="65057">LU-14837</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="59407">LU-13619</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="33845">LU-7607</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|i00xdj:</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>