<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:08:19 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-7371]  Wrong read length over isize</title>
                <link>https://jira.whamcloud.com/browse/LU-7371</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When running on osd-ldiskfs, if the isize is equal to 4095, a read length of 4096 will be returned because a wrong calculation of EOF.&lt;/p&gt;</description>
                <environment></environment>
        <key id="32960">LU-7371</key>
            <summary> Wrong read length over isize</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="bzzz">Alex Zhuravlev</assignee>
                                    <reporter username="lixi">Li Xi</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Mon, 2 Nov 2015 16:45:40 +0000</created>
                <updated>Thu, 3 Oct 2019 19:17:52 +0000</updated>
                            <resolved>Wed, 2 Dec 2015 15:59:37 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="132363" author="gerrit" created="Mon, 2 Nov 2015 16:48:12 +0000"  >&lt;p&gt;Li Xi (lixi@ddn.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/17020&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17020&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7371&quot; title=&quot; Wrong read length over isize&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7371&quot;&gt;&lt;del&gt;LU-7371&lt;/del&gt;&lt;/a&gt; osd-ldiskfs: fix wrong read length over isize&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 669fc00eb6ad6a6e9c94e3814326c50c65a7e3af&lt;/p&gt;</comment>
                            <comment id="132384" author="jgmitter" created="Mon, 2 Nov 2015 18:07:06 +0000"  >&lt;p&gt;Hi Alex,&lt;br/&gt;
Can you take a look at this issue?&lt;br/&gt;
Thanks.&lt;br/&gt;
Joe&lt;/p&gt;</comment>
                            <comment id="132604" author="lixi" created="Wed, 4 Nov 2015 13:05:19 +0000"  >&lt;p&gt;I tried to write regression test. However, Lustre client has way to determine file size on client side. So, it seems hard to reproduce the issue on client side.&lt;/p&gt;

&lt;p&gt;I collected following messages when doing following things on Lustre without patch (all Lustre client and servers runs on the same machine):&lt;/p&gt;

&lt;p&gt;dd if=/dev/zero of=file bs=4095 count=1&lt;br/&gt;
sync&lt;br/&gt;
echo 3 &amp;gt; /proc/sys/vm/drop_caches&lt;br/&gt;
dd if=file of=/dev/null bs=1048576 &lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@server1 lustre&amp;#93;&lt;/span&gt;# grep tgt_brw_read /tmp/lustre.log | grep leaving&lt;br/&gt;
00000020:00000001:0.0:1446642073.288612:0:10887:0:(tgt_handler.c:1915:tgt_brw_read()) Process leaving (rc=4096 : 4096 : 1000)&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@server1 lustre&amp;#93;&lt;/span&gt;# grep 4095 /tmp/lustre.log &lt;br/&gt;
00020000:00000001:0.0:1446642073.282732:0:12771:0:(lov_offset.c:68:lov_stripe_size()) Process leaving (rc=4095 : 4095 : fff)&lt;br/&gt;
00020000:00000001:0.0:1446642073.282733:0:12771:0:(lov_offset.c:68:lov_stripe_size()) Process leaving (rc=4095 : 4095 : fff)&lt;br/&gt;
00000080:00000001:1.0:1446642073.288760:0:12771:0:(file.c:1302:ll_file_aio_read()) Process leaving (rc=4095 : 4095 : fff)&lt;br/&gt;
00000080:00000001:1.0:1446642073.288762:0:12771:0:(file.c:1332:ll_file_read()) Process leaving (rc=4095 : 4095 : fff)&lt;br/&gt;
00020000:00000001:1.0:1446642073.288856:0:12771:0:(lov_offset.c:68:lov_stripe_size()) Process leaving (rc=4095 : 4095 : fff)&lt;br/&gt;
00020000:00000001:1.0:1446642073.288857:0:12771:0:(lov_offset.c:68:lov_stripe_size()) Process leaving (rc=4095 : 4095 : fff)&lt;/p&gt;</comment>
                            <comment id="132724" author="adilger" created="Thu, 5 Nov 2015 10:57:21 +0000"  >&lt;p&gt;I had originally thought &lt;tt&gt;dd if=/dev/zero of=$DIR/$tfile bs=4095 count=1 conv=sync&lt;/tt&gt; would be enough to create the file at 4095 bytes, and then the with &lt;tt&gt;bs=4096&lt;/tt&gt; bytes would trigger the bug.  If that doesn&apos;t work, then another option is to add an &lt;tt&gt;OBD_FAIL_OST_*&lt;/tt&gt; check in the code to reproduce the original symptom.&lt;/p&gt;</comment>
                            <comment id="132822" author="gerrit" created="Fri, 6 Nov 2015 09:05:54 +0000"  >&lt;p&gt;Li Xi (lixi@ddn.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/17060&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17060&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7371&quot; title=&quot; Wrong read length over isize&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7371&quot;&gt;&lt;del&gt;LU-7371&lt;/del&gt;&lt;/a&gt; test: wrong read length over isize&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: bc9893da37ae60918b61e2d5fd84b4cb87ad3b82&lt;/p&gt;</comment>
                            <comment id="133240" author="gerrit" created="Wed, 11 Nov 2015 15:28:14 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/17020/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17020/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7371&quot; title=&quot; Wrong read length over isize&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7371&quot;&gt;&lt;del&gt;LU-7371&lt;/del&gt;&lt;/a&gt; osd-ldiskfs: fix wrong read length over isize&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 97c4c162be77d2ee9bad5d800c9b5803f252caa0&lt;/p&gt;</comment>
                            <comment id="134957" author="gerrit" created="Wed, 2 Dec 2015 03:55:17 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/17060/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17060/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7371&quot; title=&quot; Wrong read length over isize&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7371&quot;&gt;&lt;del&gt;LU-7371&lt;/del&gt;&lt;/a&gt; test: wrong read length over isize&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 7023698133970372031a16beac276e5e3e64cfbe&lt;/p&gt;</comment>
                            <comment id="134988" author="jgmitter" created="Wed, 2 Dec 2015 15:59:37 +0000"  >&lt;p&gt;Both patches have landed for 2.8.0&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="55593">LU-12275</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="19519" name="lustre.log" size="1727603" author="lixi" created="Wed, 4 Nov 2015 13:05:19 +0000"/>
                    </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|hzxs0v:</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>