<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:45:16 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-11597] sanityn test 16a failed with direct I/O</title>
                <link>https://jira.whamcloud.com/browse/LU-11597</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;sanity test 241b failed with direct I/O:&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;== sanity test 241b: dio vs dio ====================================================================== 08:45:10 (1540543510)
1+0 records in
1+0 records out
40960 bytes (41 kB) copied, 0.00274397 s, 14.9 MB/s
-rw-r--r-- 1 root root 40960 Oct 26 08:45 /mnt/lustre/f241b.sanity
 sanity test_241b: @@@@@@ FAIL: test_241b failed with 1 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Maloo report: &lt;a href=&quot;https://testing.whamcloud.com/test_sets/88bbf5c2-d9d0-11e8-b46b-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/88bbf5c2-d9d0-11e8-b46b-52540065bddc&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;sanity tests 270a, 315, and sanityn test 16a also failed with the same issue:&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/88bbf5c2-d9d0-11e8-b46b-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/88bbf5c2-d9d0-11e8-b46b-52540065bddc&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/8b2f4282-d9d0-11e8-b46b-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/8b2f4282-d9d0-11e8-b46b-52540065bddc&lt;/a&gt;&lt;/p&gt;</description>
                <environment>Lustre Build: &lt;a href=&quot;https://build.whamcloud.com/job/lustre-master/3811&quot;&gt;https://build.whamcloud.com/job/lustre-master/3811&lt;/a&gt;&lt;br/&gt;
Distro/Arch: RHEL7.5/aarch64 (client), RHEL7.5/x86_64 (server)</environment>
        <key id="53881">LU-11597</key>
            <summary>sanityn test 16a failed with direct I/O</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="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="yujian">Jian Yu</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                            <label>arm</label>
                            <label>ppc</label>
                    </labels>
                <created>Thu, 1 Nov 2018 17:48:32 +0000</created>
                <updated>Fri, 16 Dec 2022 14:59:54 +0000</updated>
                            <resolved>Tue, 18 Jan 2022 14:21:29 +0000</resolved>
                                    <version>Lustre 2.12.0</version>
                    <version>Lustre 2.13.0</version>
                    <version>Lustre 2.12.2</version>
                    <version>Lustre 2.12.3</version>
                    <version>Lustre 2.14.0</version>
                    <version>Lustre 2.12.4</version>
                    <version>Lustre 2.12.5</version>
                                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="236399" author="yujian" created="Tue, 6 Nov 2018 08:24:59 +0000"  >&lt;p&gt;Page size of ARM processor is 64kB:&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;# uname -a
Linux trevis-79vm36.trevis.whamcloud.com 4.14.0-49.13.1.el7a.aarch64 #1 SMP Thu Sep 27 14:45:52 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
# getconf PAGE_SIZE
65536
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;while it&apos;s 4kB on x86_64 processor:&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;# uname -a
Linux trevis-58vm4.trevis.whamcloud.com 3.10.0-862.14.4.el7_lustre.x86_64 #1 SMP Fri Oct 12 14:51:33 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
# getconf PAGE_SIZE
4096
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="236400" author="yujian" created="Tue, 6 Nov 2018 08:52:39 +0000"  >&lt;p&gt;On an ARM client with x86_64 servers, writing a file less than 65536 bytes with direct I/O mode hit &quot;-EINVAL&quot; failure:&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;# yes | dd of=/mnt/lustre/f1 bs=65535 count=1 oflag=direct
dd: error writing &#8216;/mnt/lustre/f1&#8217;: Invalid argument
1+0 records in
0+0 records out
0 bytes (0 B) copied, 0.00356834 s, 0.0 kB/s
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Debug log on client showed that:&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;00000020:00000001:0.0:1541493387.509116:1776:18933:0:(cl_io.c:558:cl_io_start()) Process entered
00000080:00000001:0.0:1541493387.509118:1936:18933:0:(vvp_io.c:1036:vvp_io_write_start()) Process entered
00000080:00200000:0.0:1541493387.509121:1936:18933:0:(vvp_io.c:1061:vvp_io_write_start()) f1: write [0, 65535)
00000020:00000001:0.0:1541493387.509123:1984:18933:0:(cl_object.c:413:cl_object_maxbytes()) Process entered
00020000:00000002:0.0:1541493387.509124:2096:18933:0:(lov_object.c:1075:lov_conf_freeze()) To take share lov(ffff80002f4e0480) owner           (null)/ffff8000300f4400
00020000:00000002:0.0:1541493387.509127:2096:18933:0:(lov_object.c:2092:lov_lsm_addref()) lsm ffff8000329f9a80 addref 2/0 by ffff8000300f4400.
00020000:00000002:0.0:1541493387.509129:2096:18933:0:(lov_object.c:1083:lov_conf_thaw()) To release share lov(ffff80002f4e0480) owner           (null)/ffff8000300f4400
00000020:00000001:0.0:1541493387.509131:2016:18933:0:(cl_object.c:421:cl_object_maxbytes()) Process leaving (rc=17592186040320 : 17592186040320 : ffffffff000)
00000080:00000001:0.0:1541493387.509137:1968:18933:0:(vvp_io.c:1133:vvp_io_write_start()) Process leaving (rc=18446744073709551594 : -22 : ffffffffffffffea)
00000020:00000001:0.0:1541493387.509139:1808:18933:0:(cl_io.c:570:cl_io_start()) Process leaving (rc=18446744073709551594 : -22 : ffffffffffffffea)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Looking into vvp_io_write_start()-&amp;gt;__generic_file_write_iter()...&lt;/p&gt;

</comment>
                            <comment id="236528" author="yujian" created="Wed, 7 Nov 2018 08:06:22 +0000"  >&lt;p&gt;On x86_64 client with 4kB page size, writing a file less than 4096 bytes with direct I/O mode also hit &quot;-EINVAL&quot; failure:&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;# yes | dd of=/mnt/lustre/f2 bs=4095 count=1 oflag=direct
dd: error writing &#8216;/mnt/lustre/f2&#8217;: Invalid argument
1+0 records in
0+0 records out
0 bytes (0 B) copied, 0.0014026 s, 0.0 kB/s
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So, under direct I/O mode, the bytes to be written at a time should not be less than one page size. I&apos;m creating a patch to update the test scripts.&lt;/p&gt;</comment>
                            <comment id="236752" author="gerrit" created="Fri, 9 Nov 2018 22:34:40 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33636&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33636&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11597&quot; title=&quot;sanityn test 16a failed with direct I/O&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11597&quot;&gt;&lt;del&gt;LU-11597&lt;/del&gt;&lt;/a&gt; tests: fix O_DIRECT test usage for ARM&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e26c7a9c6e747de442d5f37cf14b352ca3e4b365&lt;/p&gt;</comment>
                            <comment id="236910" author="gerrit" created="Tue, 13 Nov 2018 06:18:34 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33636/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33636/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11597&quot; title=&quot;sanityn test 16a failed with direct I/O&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11597&quot;&gt;&lt;del&gt;LU-11597&lt;/del&gt;&lt;/a&gt; tests: fix O_DIRECT test usage for ARM&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f602b5ec7f45713122abd615a97a13d7c97d460e&lt;/p&gt;</comment>
                            <comment id="236924" author="pjones" created="Tue, 13 Nov 2018 11:15:21 +0000"  >&lt;p&gt;Landed for 2.12&lt;/p&gt;</comment>
                            <comment id="238648" author="jamesanunez" created="Sat, 15 Dec 2018 00:18:41 +0000"  >&lt;p&gt;I&apos;m reopening this ticket because sanityn test 16a, as mentioned in the description, is still failing for ARM. &lt;/p&gt;

&lt;p&gt;Logs for recent test failures are at&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/f1121dd4-fdef-11e8-b837-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/f1121dd4-fdef-11e8-b837-52540065bddc&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://testing.whamcloud.com/test_sets/1de368ba-fa38-11e8-bb6b-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/1de368ba-fa38-11e8-bb6b-52540065bddc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="263182" author="jamesanunez" created="Wed, 12 Feb 2020 17:40:54 +0000"  >&lt;p&gt;Also, PPC client testing fails this test 100% of the time; &lt;a href=&quot;https://testing.whamcloud.com/test_sets/f25e7616-4a6e-11ea-b69a-52540065bddc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/f25e7616-4a6e-11ea-b69a-52540065bddc&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="263242" author="gerrit" created="Thu, 13 Feb 2020 20:13:42 +0000"  >&lt;p&gt;James Nunez (jnunez@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/37561&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37561&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11597&quot; title=&quot;sanityn test 16a failed with direct I/O&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11597&quot;&gt;&lt;del&gt;LU-11597&lt;/del&gt;&lt;/a&gt; tests: skip sanityn tests for PPC&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: bfe402a758e752124a0d081f5bb5bde4b95566bb&lt;/p&gt;</comment>
                            <comment id="263396" author="gerrit" created="Sat, 15 Feb 2020 07:05:45 +0000"  >&lt;p&gt;Wang Shilong (wshilong@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/37589&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37589&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11597&quot; title=&quot;sanityn test 16a failed with direct I/O&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11597&quot;&gt;&lt;del&gt;LU-11597&lt;/del&gt;&lt;/a&gt; test: fix sanityn 16a to align page size&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: c23ab3e322cfc6b585b39c97d6bbec77127e6f2b&lt;/p&gt;</comment>
                            <comment id="263648" author="gerrit" created="Thu, 20 Feb 2020 07:14:00 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/37561/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37561/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11597&quot; title=&quot;sanityn test 16a failed with direct I/O&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11597&quot;&gt;&lt;del&gt;LU-11597&lt;/del&gt;&lt;/a&gt; tests: skip sanityn tests for PPC&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: c27e5fe50ca3de4c9d3dbb024a0704ee3cc4e15c&lt;/p&gt;</comment>
                            <comment id="263722" author="jamesanunez" created="Thu, 20 Feb 2020 18:47:50 +0000"  >&lt;p&gt;The patch that landed, &lt;a href=&quot;https://review.whamcloud.com/37561/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37561/&lt;/a&gt;, puts sanityn tests 16a and 71a on the ALWAYS_EXCEPT list for PPC client testing. This ticket should remain open until those tests are fixed and the tests are taken off the list. &lt;/p&gt;</comment>
                            <comment id="285281" author="gerrit" created="Tue, 17 Nov 2020 00:06:41 +0000"  >&lt;p&gt;James Nunez (jnunez@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/40660&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40660&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11597&quot; title=&quot;sanityn test 16a failed with direct I/O&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11597&quot;&gt;&lt;del&gt;LU-11597&lt;/del&gt;&lt;/a&gt; tests: skip sanityn tests for PPC&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 7d20d3c6abfcac939ec9c7020484882d5e8067b7&lt;/p&gt;</comment>
                            <comment id="293904" author="gerrit" created="Thu, 4 Mar 2021 08:34:58 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/40660/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40660/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11597&quot; title=&quot;sanityn test 16a failed with direct I/O&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11597&quot;&gt;&lt;del&gt;LU-11597&lt;/del&gt;&lt;/a&gt; tests: skip sanityn tests for PPC&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d0a53964f1bd7d8a21fc987df8d2f250b04f9ada&lt;/p&gt;</comment>
                            <comment id="316942" author="xinliang" created="Fri, 29 Oct 2021 03:32:15 +0000"  >&lt;p&gt;Only&#160;sanityn test 16a fails now,&#160; change the title.&lt;/p&gt;</comment>
                            <comment id="322972" author="gerrit" created="Tue, 18 Jan 2022 09:08:04 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/37589/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37589/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11597&quot; title=&quot;sanityn test 16a failed with direct I/O&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11597&quot;&gt;&lt;del&gt;LU-11597&lt;/del&gt;&lt;/a&gt; test: Fix sanityn 16a failed on arm&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: eb704aecfaad2a6256d1e2e48cdfadbabb07e5cb&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="53614">LU-11527</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="51904">LU-10929</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="49488">LU-10300</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|i005hr:</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>