<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:03:51 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-13745] tasks hang with copy_file_range: ll_file_splice_read()</title>
                <link>https://jira.whamcloud.com/browse/LU-13745</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;&lt;tt&gt;copy_file_range(2)&lt;/tt&gt; reads from a Lustre file hang.&lt;/p&gt;

&lt;p&gt;With no &lt;tt&gt;.copy_file_range&lt;/tt&gt; VFS API implemented it calls &lt;tt&gt;do&amp;#95;splice&amp;#95;direct()&amp;#45;&amp;gt;splice&amp;#95;direct&amp;#95;to&amp;#95;actor()&amp;#45;&amp;gt;do&amp;#95;splice&amp;#95;to()&amp;#45;&amp;gt;ll&amp;#95;file&amp;#95;splice&amp;#95;read()&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;While the call chain of &lt;tt&gt;ll&amp;#95;file&amp;#95;splice&amp;#95;read()&amp;#45;&amp;gt;ll&amp;#95;file&amp;#95;io&amp;#95;generic()&amp;#45;&amp;gt;generic&amp;#95;file&amp;#95;splice&amp;#95;read()&amp;#45;&amp;gt;ll&amp;#95;file&amp;#95;read&amp;#95;iter()&amp;#45;&amp;gt;ll&amp;#95;file&amp;#95;io&amp;#95;generic()&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;And that would try to get LDLM lock twice in &lt;tt&gt;ll&amp;#95;file&amp;#95;io&amp;#95;generic()&lt;/tt&gt;, so that hang ensued.  &lt;/p&gt;</description>
                <environment></environment>
        <key id="59829">LU-13745</key>
            <summary>tasks hang with copy_file_range: ll_file_splice_read()</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="bobijam">Zhenyu Xu</assignee>
                                    <reporter username="bobijam">Zhenyu Xu</reporter>
                        <labels>
                            <label>always_except</label>
                    </labels>
                <created>Thu, 2 Jul 2020 14:23:58 +0000</created>
                <updated>Wed, 23 Dec 2020 23:58:25 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>11</watches>
                                                                            <comments>
                            <comment id="274270" author="gerrit" created="Thu, 2 Jul 2020 14:28:59 +0000"  >&lt;p&gt;Bobi Jam (bobijam@hotmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/39246&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39246&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13745&quot; title=&quot;tasks hang with copy_file_range: ll_file_splice_read()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13745&quot;&gt;LU-13745&lt;/a&gt; llite: avoid lock ldlm twice in splice read&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4f31a54bad899b69d775f971d572b6536b6da0b0&lt;/p&gt;</comment>
                            <comment id="274383" author="gerrit" created="Fri, 3 Jul 2020 19:34:04 +0000"  >&lt;p&gt;James Simmons (jsimmons@infradead.org) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/39272&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39272&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13745&quot; title=&quot;tasks hang with copy_file_range: ll_file_splice_read()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13745&quot;&gt;LU-13745&lt;/a&gt; llite: switch generic_file_splice_read() to use of -&amp;gt;read_iter()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 5a957f5de38543418c5af9b0435299aace81062c&lt;/p&gt;</comment>
                            <comment id="277783" author="gerrit" created="Thu, 20 Aug 2020 03:38:35 +0000"  >&lt;p&gt;Wang Shilong (wshilong@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/39695&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39695&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13745&quot; title=&quot;tasks hang with copy_file_range: ll_file_splice_read()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13745&quot;&gt;LU-13745&lt;/a&gt; test: add splice test for lustre&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f997041face6a8ce5c60af1e37da3a5368194083&lt;/p&gt;</comment>
                            <comment id="279575" author="gerrit" created="Tue, 15 Sep 2020 00:48:52 +0000"  >&lt;p&gt;James Simmons (jsimmons@infradead.org) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/39910&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39910&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13745&quot; title=&quot;tasks hang with copy_file_range: ll_file_splice_read()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13745&quot;&gt;LU-13745&lt;/a&gt; test: add PCC test for splice handling&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 81abcfe3241090a61af2dcaee3bc1dd9b1023d4b&lt;/p&gt;</comment>
                            <comment id="281297" author="gerrit" created="Fri, 2 Oct 2020 00:18:55 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/39272/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39272/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13745&quot; title=&quot;tasks hang with copy_file_range: ll_file_splice_read()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13745&quot;&gt;LU-13745&lt;/a&gt; llite: switch generic_file_splice_read() to use of -&amp;gt;read_iter()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 1635dc9de0bc1d6701ca5f4bc0d342fca416f89a&lt;/p&gt;</comment>
                            <comment id="281304" author="simmonsja" created="Fri, 2 Oct 2020 00:49:50 +0000"  >&lt;p&gt;New test need to land still&lt;/p&gt;</comment>
                            <comment id="282529" author="gerrit" created="Mon, 19 Oct 2020 03:13:15 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/39695/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39695/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13745&quot; title=&quot;tasks hang with copy_file_range: ll_file_splice_read()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13745&quot;&gt;LU-13745&lt;/a&gt; test: add splice test for lustre&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 7ad8bf544f4132c7a291c2e8a2035afcb98f94c6&lt;/p&gt;</comment>
                            <comment id="282793" author="adilger" created="Wed, 21 Oct 2020 02:41:18 +0000"  >&lt;p&gt;The landing of patch &lt;a href=&quot;https://review.whamcloud.com/39695&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39695&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13745&quot; title=&quot;tasks hang with copy_file_range: ll_file_splice_read()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13745&quot;&gt;LU-13745&lt;/a&gt; test: add splice test for lustre&lt;/tt&gt;&quot; has caused 100% sanity.sh test_426 failure on aarch64.&lt;/p&gt;</comment>
                            <comment id="282797" author="gerrit" created="Wed, 21 Oct 2020 03:20:34 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/40326&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40326&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13745&quot; title=&quot;tasks hang with copy_file_range: ll_file_splice_read()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13745&quot;&gt;LU-13745&lt;/a&gt; tests: skip sanity test_426 for 4.18+&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 37563cfa713b2bfe8a71dc1b23fea66f6329f4c5&lt;/p&gt;</comment>
                            <comment id="282804" author="wshilong" created="Wed, 21 Oct 2020 04:31:58 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=adilger&quot; class=&quot;user-hover&quot; rel=&quot;adilger&quot;&gt;adilger&lt;/a&gt; That means the newly added test is helpful&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; and something we need fix still&lt;/p&gt;</comment>
                            <comment id="282806" author="bruno" created="Wed, 21 Oct 2020 06:45:46 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=adilger&quot; class=&quot;user-hover&quot; rel=&quot;adilger&quot;&gt;adilger&lt;/a&gt; this may be of interest, but I think my patch &lt;a href=&quot;https://review.whamcloud.com/35856&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35856&lt;/a&gt; has also failed 100% of &quot;test review-ldiskfs-ubuntu on CentOS 7.8/x86_64, Ubuntu 18.04/x86_64&quot; stage I have attempted, for the same sanity/test_426 crash on Client side that you have provided the significant stack in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14045&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;LU-14045&lt;/a&gt;. So it should be more a Kernel v4.x related issue than an arch related one.&lt;/p&gt;</comment>
                            <comment id="282887" author="gerrit" created="Wed, 21 Oct 2020 17:50:05 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/40326/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40326/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13745&quot; title=&quot;tasks hang with copy_file_range: ll_file_splice_read()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13745&quot;&gt;LU-13745&lt;/a&gt; tests: skip sanity test_426 for 4.18+&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 010425898fa4b2abc6325a8073e20cb994ce7947&lt;/p&gt;</comment>
                            <comment id="283047" author="jhammond" created="Thu, 22 Oct 2020 22:07:39 +0000"  >&lt;p&gt;This is also failing on Ubuntu 18.04 which is using 4.15.0-72-generic. See &lt;a href=&quot;https://testing.whamcloud.com/test_sets/bdfb8c4b-a6a2-493a-ab57-6a9923f96e7c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/bdfb8c4b-a6a2-493a-ab57-6a9923f96e7c&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="283048" author="bruno" created="Thu, 22 Oct 2020 22:08:51 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=adilger&quot; class=&quot;user-hover&quot; rel=&quot;adilger&quot;&gt;adilger&lt;/a&gt;, after I have rebased my patch on top of change #40326, it appears that same crash during sanity/test_426 still occurs with Ubuntu Client because the used Kernel version is 4.15 so sub-test is not skipped !!&lt;/p&gt;</comment>
                            <comment id="283049" author="gerrit" created="Thu, 22 Oct 2020 22:11:07 +0000"  >&lt;p&gt;John L. Hammond (jhammond@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/40366&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40366&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13745&quot; title=&quot;tasks hang with copy_file_range: ll_file_splice_read()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13745&quot;&gt;LU-13745&lt;/a&gt; tests: skip sanity test_426 for 4.15+&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a8a6a55a1e4e11ee3b61aa7e230d752b5c1a476a&lt;/p&gt;</comment>
                            <comment id="283150" author="gerrit" created="Fri, 23 Oct 2020 17:34:48 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/40366/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40366/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13745&quot; title=&quot;tasks hang with copy_file_range: ll_file_splice_read()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13745&quot;&gt;LU-13745&lt;/a&gt; tests: skip sanity test_426 for 4.15+&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f8a8d3f83db67be9dcc724ff49757cce81b13a5e&lt;/p&gt;</comment>
                            <comment id="283200" author="gerrit" created="Mon, 26 Oct 2020 02:47:06 +0000"  >&lt;p&gt;Yingjin Qian (qian@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/40396&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40396&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13745&quot; title=&quot;tasks hang with copy_file_range: ll_file_splice_read()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13745&quot;&gt;LU-13745&lt;/a&gt; pcc: fall back normal splice read for detached file&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 7b45c8d9c77a9c45862bd61ea05b8c46117cffa4&lt;/p&gt;</comment>
                            <comment id="288165" author="gerrit" created="Tue, 22 Dec 2020 05:28:10 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/40396/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40396/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13745&quot; title=&quot;tasks hang with copy_file_range: ll_file_splice_read()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13745&quot;&gt;LU-13745&lt;/a&gt; pcc: fall back normal splice read for detached file&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: cca45ad8aeaa8e124e9e48361bf7cff89a035f82&lt;/p&gt;</comment>
                            <comment id="288188" author="pjones" created="Tue, 22 Dec 2020 12:51:21 +0000"  >&lt;p&gt;The fix itself has landed for 2.14. All that remains tracked by this ticket is a test. Are there still plans to land that test imminently or can we either abandon that changeset /move it to a new JIRA?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="55926">LU-12425</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="61297">LU-14060</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="61249">LU-14045</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|i014br:</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>