<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:11:28 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-14637] mirror_extend() should not sanity-check the layout of the file</title>
                <link>https://jira.whamcloud.com/browse/LU-14637</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In &lt;tt&gt;mirror_extend()&lt;/tt&gt; we call &lt;tt&gt;mirror_create_sanity_check(fname, mirror_list)&lt;/tt&gt; to sanity check the layouts of the original file and the mirror list. It doesn&apos;t make sense to check the layout of the original file. The check of the original file was added to prevent mixing of DoM and FLR. But the DoM+FLR prevention inside of &lt;tt&gt;mirror_create_sanity_check()&lt;/tt&gt; has been removed:&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;static int mirror_extend(char *fname, struct mirror_args *mirror_list,
                         enum mirror_flags mirror_flags)
{
        int rc;

        rc = mirror_create_sanity_check(fname, mirror_list);
        if (rc)
                return rc;

...
}

# git-grep-and-blame mirror_create_sanity_check
125f98fb (Jian Yu 2017-09-15 21:43:10 +0000 1609)  * mirror_create_sanity_check() - Check mirror list.
0bff64be (Jinshan Xiong 2017-11-16 23:06:24 -0800 1617) static int mirror_create_sanity_check(const char *fname,
0bff64be (Jinshan Xiong 2017-11-16 23:06:24 -0800 1726) 	rc = mirror_create_sanity_check(NULL, mirror_list);
0bff64be (Jinshan Xiong 2017-11-16 23:06:24 -0800 2027) 	rc = mirror_create_sanity_check(fname, mirror_list);
# git show 0bff64be
commit 0bff64be320fd95d80ae21b1362e1a2892bd450a
Author: Jinshan Xiong &amp;lt;jinshan.xiong@intel.com&amp;gt;
Date:   Thu Nov 16 23:06:24 2017 -0800

    LU-9771 flr: to not support dom+flr for phase 1
    
    To exclude the support of dom+flr.
    
    Test-Parameters: testlist=sanity-flr
...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Removing the check on the original file will save us an open+close+etc.&lt;/p&gt;</description>
                <environment></environment>
        <key id="63919">LU-14637</key>
            <summary>mirror_extend() should not sanity-check the layout of the file</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="bobijam">Zhenyu Xu</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>bjhpflr</label>
                    </labels>
                <created>Fri, 23 Apr 2021 16:02:32 +0000</created>
                <updated>Sat, 14 Oct 2023 10:49:35 +0000</updated>
                            <resolved>Thu, 29 Jul 2021 11:40:00 +0000</resolved>
                                                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="299609" author="jhammond" created="Fri, 23 Apr 2021 19:13:38 +0000"  >&lt;p&gt;&lt;tt&gt;lfs mirror extend&lt;/tt&gt; is actually opening the file twice &lt;tt&gt;O_RDONLY&lt;/tt&gt; to get the layout and then once &lt;tt&gt;O_RDWR&lt;/tt&gt; to actually add the mirror. The first time we get the layout it is for the sanity check and the second it to have the mirror layout inherit from the original. &lt;/p&gt;</comment>
                            <comment id="306625" author="gerrit" created="Thu, 8 Jul 2021 14:42:04 +0000"  >&lt;p&gt;Bobi Jam (bobijam@hotmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/44185&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/44185&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14637&quot; title=&quot;mirror_extend() should not sanity-check the layout of the file&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14637&quot;&gt;&lt;del&gt;LU-14637&lt;/del&gt;&lt;/a&gt; flr: get rid of excluding dom+flr support test&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 029326afafa0f45afb4f3260c31dacdc3089a48f&lt;/p&gt;</comment>
                            <comment id="308593" author="gerrit" created="Tue, 27 Jul 2021 21:38:24 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/44185/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/44185/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14637&quot; title=&quot;mirror_extend() should not sanity-check the layout of the file&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14637&quot;&gt;&lt;del&gt;LU-14637&lt;/del&gt;&lt;/a&gt; flr: get rid of excluding dom+flr support test&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 4b52ea1d30b45900787271c4c035fad124abf34a&lt;/p&gt;</comment>
                            <comment id="308758" author="pjones" created="Thu, 29 Jul 2021 11:40:00 +0000"  >&lt;p&gt;Landed for 2.15&lt;/p&gt;</comment>
                    </comments>
                    <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|i01szr:</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>