<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:06:42 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-14084] change &apos;lfs migrate&apos; to use &apos;MIGRATION_NONBLOCK&apos; by default</title>
                <link>https://jira.whamcloud.com/browse/LU-14084</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Since Lustre 2.8 (patch &lt;a href=&quot;https://review.whamcloud.com/16238&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/16238&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6785&quot; title=&quot;Interop 2.7.0&amp;lt;-&amp;gt;master sanity test_56w: cannot swap layouts: Device or resource busy&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6785&quot;&gt;&lt;del&gt;LU-6785&lt;/del&gt;&lt;/a&gt; utils: compatibility fix for lfs migrate&lt;/tt&gt;&quot;) &quot;&lt;tt&gt;lfs migrate&lt;/tt&gt;&quot; has used &quot;&lt;tt&gt;--block&lt;/tt&gt;&quot; as the default (i.e. block writes to a file during migration) for compatibility with pre-2.8.0 servers (or earlier for EE releases).&lt;/p&gt;

&lt;p&gt;Since very few servers are this old, it would be better to change the default to try and get the file lease first unless a new &lt;tt&gt;migration_flags = MIGRATION_BLOCK&lt;/tt&gt; flag is set, and only try the grouplock if the lease fails and &lt;tt&gt;migration_flags = MIGRATION_NONBLOCK&lt;/tt&gt; is not set.&lt;/p&gt;

&lt;p&gt;This will also solve the problem that &quot;&lt;tt&gt;lfs migrate&lt;/tt&gt;&quot; without the &quot;&lt;tt&gt;--non-block&lt;/tt&gt;&quot; option fails for DoM files until patch &lt;a href=&quot;https://review.whamcloud.com/39406&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39406&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13645&quot; title=&quot;Various data corruptions possible in lustre.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13645&quot;&gt;&lt;del&gt;LU-13645&lt;/del&gt;&lt;/a&gt; ldlm: group locks for DOM IBIT lock&lt;/tt&gt;&quot; is landed (which is having some headwind itself):&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;lfs migrate: cannot get group lock: Invalid argument
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This would also be less complex/risky to backport to 2.12.&lt;/p&gt;

&lt;p&gt;It would also be useful to consolidate the &lt;tt&gt;migrate_block()&lt;/tt&gt; and &lt;tt&gt;migrate_nonblock()&lt;/tt&gt; code if possible, instead of having two nearly-identical functions.&lt;/p&gt;</description>
                <environment></environment>
        <key id="61410">LU-14084</key>
            <summary>change &apos;lfs migrate&apos; to use &apos;MIGRATION_NONBLOCK&apos; by default</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Wed, 28 Oct 2020 21:40:42 +0000</created>
                <updated>Wed, 28 Oct 2020 21:46:13 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="59478">LU-13645</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="30886">LU-6785</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|i01dlb:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>