<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:35: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-17441] move rename RPC handling to MDS_IO_PORTAL</title>
                <link>https://jira.whamcloud.com/browse/LU-17441</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Apache Spark primarily writes files using a &lt;a href=&quot;https://stackoverflow.com/questions/46882683/spark-temporary-creation-reason&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;_temporary&lt;/tt&gt;&lt;/a&gt; staging directory to hold files, and then renames the files to their final location.  Since the files in the &lt;tt&gt;_temporary&lt;/tt&gt; directory are renamed out of the directory, they currently &lt;b&gt;always&lt;/b&gt; need the BFL lock, and there may be thousands of such renames concurrently (at least until &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17426&quot; title=&quot;parallel cross-directory rename of regular files on single MDT&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17426&quot;&gt;LU-17426&lt;/a&gt; and &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17434&quot; title=&quot;DNE3: add exclude list for remote subdirectory creation&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17434&quot;&gt;LU-17434&lt;/a&gt; are implemented to allow such renames without BFL).  &lt;/p&gt;

&lt;p&gt;However, even after those changes are implemented, there may be many concurrent renames that need the BFL lock (more than the number of &lt;tt&gt;MDS_REQUEST_PORTAL&lt;/tt&gt; service threads), they will block these threads until each is able to get the rename lock, and prevent other &lt;tt&gt;MDS_REINT&lt;/tt&gt; RPCs from being processed. &lt;/p&gt;

&lt;p&gt;Since the &lt;tt&gt;MDS_IO_PORTAL&lt;/tt&gt; is often unused (only needed for DoM files, and has existed since 2.11.0, it seems possible to move the rename RPCs to be serviced by the &lt;tt&gt;MDS_IO_PORTAL&lt;/tt&gt; threads to avoid contention on the primary MDS service threads.  Also, it will avoid blocking normal file open, setattr, statfs, and other common operations if the BFL lock is contended.  Even with DoM files they may have read-on-open handling and only DoM writes would be blocked by the uncommon rename.&lt;/p&gt;</description>
                <environment></environment>
        <key id="80101">LU-17441</key>
            <summary>move rename RPC handling to MDS_IO_PORTAL</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="adilger">Andreas Dilger</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Thu, 18 Jan 2024 07:03:25 +0000</created>
                <updated>Tue, 23 Jan 2024 02:07:50 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="400175" author="gerrit" created="Thu, 18 Jan 2024 09:52:49 +0000"  >&lt;p&gt;&quot;Andreas Dilger &amp;lt;adilger@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/53725&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/53725&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17441&quot; title=&quot;move rename RPC handling to MDS_IO_PORTAL&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17441&quot;&gt;LU-17441&lt;/a&gt; mdc: use MDS_IO_PORTAL for rename&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 3f8165456af0842b31c3cf3d5e9683d3836adf89&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="63533">LU-14564</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="80013">LU-17426</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="80014">LU-17427</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="80057">LU-17434</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </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|i0483z:</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>