<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:33:38 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-10278] lfs migrate: make use of direct i/o optional</title>
                <link>https://jira.whamcloud.com/browse/LU-10278</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In order to avoid cache thrashing, lfs migrate currently uses direct i/o to copy file contents, which may leads to significantly different performance compared to normal (non-O_DIRECT) i/o, cf. for example the discussion at &lt;a href=&quot;http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/2017-November/015112.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/2017-November/015112.html&lt;/a&gt;. Internally, we&apos;ve measured even more extreme differences where O_DIRECT throughput performed at 1/10th the normal rate. Therefore, I&apos;d suggest to leave the choice between normal and direct i/o to the caller of lfs migrate by adding a new option &lt;del&gt;N/&lt;/del&gt;-non-direct that suppresses to O_DIRECT flag in the open() call of the source file. Patch to follow.&lt;/p&gt;</description>
                <environment></environment>
        <key id="49437">LU-10278</key>
            <summary>lfs migrate: make use of direct i/o optional</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="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="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="kobras">Daniel Kobras</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Fri, 24 Nov 2017 17:59:39 +0000</created>
                <updated>Wed, 2 Jan 2019 20:48:12 +0000</updated>
                            <resolved>Thu, 22 Feb 2018 13:22:00 +0000</resolved>
                                                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="214623" author="jay" created="Fri, 24 Nov 2017 22:40:59 +0000"  >&lt;p&gt;Then the correct direction to go is to use AIO+DirectIO. Please take a look at &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4198&quot; title=&quot;Improve IO performance when using DIRECT IO using libaio&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4198&quot;&gt;&lt;del&gt;LU-4198&lt;/del&gt;&lt;/a&gt; for enabling AIO in Lustre.&lt;/p&gt;</comment>
                            <comment id="214638" author="adilger" created="Sun, 26 Nov 2017 00:11:06 +0000"  >&lt;p&gt;I think it is reasonable to have a simple change like this, since the fix to AIO in the kernel is fairly complex (and late for 2.11). The patch to &lt;tt&gt;lfs migrate&lt;/tt&gt; should be simple enough that it can be backported to 2.10.x as well.&lt;/p&gt;

&lt;p&gt;I&apos;m not against making AIO and &lt;tt&gt;copyfile()&lt;/tt&gt; work well, but it shouldn&apos;t be an obstacle for a small fix in the meantime. &lt;/p&gt;</comment>
                            <comment id="214837" author="gerrit" created="Tue, 28 Nov 2017 16:26:34 +0000"  >&lt;p&gt;Daniel Kobras (d.kobras@science-computing.de) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/30301&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30301&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10278&quot; title=&quot;lfs migrate: make use of direct i/o optional&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10278&quot;&gt;&lt;del&gt;LU-10278&lt;/del&gt;&lt;/a&gt; utils: allow to migrate without direct io&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b7fde24507db1e007da3c96aaeeadd3f572bff6b&lt;/p&gt;</comment>
                            <comment id="218254" author="pjones" created="Mon, 15 Jan 2018 15:41:54 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=kobras&quot; class=&quot;user-hover&quot; rel=&quot;kobras&quot;&gt;kobras&lt;/a&gt; will you be able to refresh the patch as required?&lt;/p&gt;</comment>
                            <comment id="220165" author="pjones" created="Tue, 6 Feb 2018 18:29:22 +0000"  >&lt;p&gt;Emoly&lt;/p&gt;

&lt;p&gt;It seems that &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=kobras&quot; class=&quot;user-hover&quot; rel=&quot;kobras&quot;&gt;kobras&lt;/a&gt; is not available to refresh his patch. Could you please assist with this so that we can include this change in 2.11?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="221417" author="gerrit" created="Thu, 22 Feb 2018 05:40:11 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/30301/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/30301/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10278&quot; title=&quot;lfs migrate: make use of direct i/o optional&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10278&quot;&gt;&lt;del&gt;LU-10278&lt;/del&gt;&lt;/a&gt; utils: allow to migrate without direct io&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: adfb154348c742b073a2b8120f2a9bf4c67fb7fa&lt;/p&gt;</comment>
                            <comment id="221434" author="pjones" created="Thu, 22 Feb 2018 13:22:00 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="21786">LU-4198</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="53924">LU-11621</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|hzzo8n:</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>