<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:34:44 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-3533] rename under different striped directory</title>
                <link>https://jira.whamcloud.com/browse/LU-3533</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The more complicate case is rename between different striped directories, and there might be four MDTs involve in this process. (mv dir_S/src dir_T/tgt, MDT1 holds the source stripe of dir_S where the name entry of src is located, MDT2 holds src object, MDT3 holds the target stripe of dir_T where the name entry of tgt is located, MDT4 holds tgt object)&lt;br/&gt;
1. The client sends rename request to MDT4 if the tgt object exists, otherwise to MDT2 where the src object exists (though this is not a hard requirement).  This is the master MDT.&lt;br/&gt;
2. If the clients sends the RPC to an MDT and it looks up the tgt name under DLM lock and tgt object exists on a remote MDT, the MDT will return -EREMOTE and the client must resend the RPC to the MDT with the tgt object.&lt;br/&gt;
3. If the renamed object is a directory, the master MDT acquires the global rename lock. The master MDT gets the LDLM lock of dir_S and dir_T stripe according to their FID order, then gets the LDLM lock of their child name hashes.&lt;br/&gt;
4. If the renamed object is a directory the master MDT checks the relationship between the dir_S and dir_T stripes.  If the dir_S is the parent of tgt, the rename is not allowed&lt;br/&gt;
5. MDT1 deletes entry src and set ctime/mtime of dir_S.&lt;br/&gt;
6. If the renamed object is a directory MDT2 deletes old dir_S &quot;..&quot; entry and insert new dir_T &quot;..&quot; entry, sets ctime/mtime of src and also updates the linkEA of src.&lt;br/&gt;
7. The master MDT deletes old entry tgt if it exists, and insert new entry tgt with the src object FID, and also updates the link count of local stripe if this is a directory.&lt;br/&gt;
8. If the renamed object is a directory then the master MDT releases global rename lock&lt;br/&gt;
9. If tgt object exist, MDT4 destroys tgt.&lt;br/&gt;
10. If the object being renamed is itself a striped directory, only the master stripe will have its &quot;..&quot; and linkEA entry updated.&lt;/p&gt;</description>
                <environment></environment>
        <key id="19629">LU-3533</key>
            <summary>rename under different striped directory</summary>
                <type id="7" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/task_agile.png">Technical task</type>
                            <parent id="19627">LU-3531</parent>
                                    <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="2">Won&apos;t Fix</resolution>
                                        <assignee username="di.wang">Di Wang</assignee>
                                    <reporter username="di.wang">Di Wang</reporter>
                        <labels>
                    </labels>
                <created>Sat, 29 Jun 2013 17:43:24 +0000</created>
                <updated>Fri, 14 Feb 2014 23:18:59 +0000</updated>
                            <resolved>Fri, 14 Feb 2014 23:18:59 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="77142" author="di.wang" created="Fri, 14 Feb 2014 23:18:59 +0000"  >&lt;p&gt;This will be done after async update.&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|hzvudj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8897</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>