<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:45:34 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-11631] symlink migration should not create remote inodes</title>
                <link>https://jira.whamcloud.com/browse/LU-11631</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Migrating a symlink should not leave a remote agent inode on the original MDT in the extremely common case where there is &lt;b&gt;not&lt;/b&gt; a hardlink to the symlink (apparently that is possible under POSIX and Linux allows it, who knew?):&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;touch tt
$ ln -s tt tt.link
$ ln -n tt.link tt.nlink
$ ls -li tt*
408143 0 -rw-rw-r-- 1 mythtv  mythtv    0 Nov  6 13:02 tt
408146 0 lrwxrwxrwx 2 mythtv  mythtv    2 Nov  6 13:02 tt.hlink -&amp;gt; tt
408146 0 lrwxrwxrwx 2 mythtv  mythtv    2 Nov  6 13:02 tt.link -&amp;gt; tt
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Since we can never hold symlinks open and they can never be modified in place (except for renaming them) there is no danger to move the whole symlink to the new MDT during rename instead of leaving a stub agent inode on the original MDT, except in the rare case where the link count &amp;gt; 1.&lt;/p&gt;</description>
                <environment></environment>
        <key id="53943">LU-11631</key>
            <summary>symlink migration should not create remote inodes</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="laisiyao">Lai Siyao</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Tue, 6 Nov 2018 20:11:58 +0000</created>
                <updated>Sat, 21 Nov 2020 09:38:32 +0000</updated>
                            <resolved>Thu, 29 Oct 2020 12:09:50 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                    <version>Lustre 2.13.0</version>
                    <version>Lustre 2.10.6</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="265791" author="adilger" created="Sat, 21 Mar 2020 03:23:20 +0000"  >&lt;p&gt;Zam, any chance you could take a look at implementing this for 2.14?  &lt;/p&gt;</comment>
                            <comment id="268516" author="adilger" created="Fri, 24 Apr 2020 19:37:38 +0000"  >&lt;p&gt;Lai, now that the directory split patches are starting to land, would you have time to look at this?&lt;/p&gt;

&lt;p&gt;This would also help avoid the creation of remote symlinks after creating and renaming temporary symlink files to change their project ID in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11872&quot; title=&quot;Request for option not to follow symlink when setting project ID&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11872&quot;&gt;&lt;del&gt;LU-11872&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="268583" author="laisiyao" created="Sun, 26 Apr 2020 13:22:21 +0000"  >&lt;p&gt;Okay, I&apos;ll work on it soon.&lt;/p&gt;</comment>
                            <comment id="279493" author="gerrit" created="Mon, 14 Sep 2020 09:21:01 +0000"  >&lt;p&gt;Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/39896&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39896&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11631&quot; title=&quot;symlink migration should not create remote inodes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11631&quot;&gt;&lt;del&gt;LU-11631&lt;/del&gt;&lt;/a&gt; obdclass: nlink is not set in struct obdo&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 950c7dfb6b99c357a0520c42a8ad0c2762577745&lt;/p&gt;</comment>
                            <comment id="279494" author="gerrit" created="Mon, 14 Sep 2020 09:21:01 +0000"  >&lt;p&gt;Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/39897&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39897&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11631&quot; title=&quot;symlink migration should not create remote inodes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11631&quot;&gt;&lt;del&gt;LU-11631&lt;/del&gt;&lt;/a&gt; mdd: migrate symlink if rename is between MDTs&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: fd3cbfc62cfe84c1ed6beadc2933e67e6d1c7464&lt;/p&gt;</comment>
                            <comment id="280581" author="gerrit" created="Fri, 25 Sep 2020 03:12:55 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/39896/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39896/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11631&quot; title=&quot;symlink migration should not create remote inodes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11631&quot;&gt;&lt;del&gt;LU-11631&lt;/del&gt;&lt;/a&gt; obdclass: nlink is not set in struct obdo&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: a9ba4bca528938bf24ec1b172e03b24808393fb2&lt;/p&gt;</comment>
                            <comment id="283569" author="gerrit" created="Thu, 29 Oct 2020 04:47:59 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/39897/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39897/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11631&quot; title=&quot;symlink migration should not create remote inodes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11631&quot;&gt;&lt;del&gt;LU-11631&lt;/del&gt;&lt;/a&gt; mdd: migrate symlink for cross-MDT rename&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 9adc02c016d2c0c1211274cb407637f9b49b4e09&lt;/p&gt;</comment>
                            <comment id="283612" author="pjones" created="Thu, 29 Oct 2020 12:09:50 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="54597">LU-11872</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="52665">LU-11130</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|i005vj:</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>