<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:27:52 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-16537] osd-ldiskfs prevents writing of last block of very large ldiskfs file</title>
                <link>https://jira.whamcloud.com/browse/LU-16537</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;4k ext4/ldiskfs files are 4294967295 blocks long. Last block never gets written due to a bug in osd_ldiskfs_map_inode_pages():&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (fp-&amp;gt;index + clen &amp;gt;= max_page_index)
                        GOTO(cleanup, rc = -EFBIG);&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="74376">LU-16537</key>
            <summary>osd-ldiskfs prevents writing of last block of very large ldiskfs file</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="wc-triage">WC Triage</assignee>
                                    <reporter username="vsaveliev">Vladimir Saveliev</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 Feb 2023 19:15:26 +0000</created>
                <updated>Tue, 2 Jan 2024 06:50:07 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="361960" author="gerrit" created="Tue, 7 Feb 2023 19:17:55 +0000"  >&lt;p&gt;&quot;Vladimir Saveliev &amp;lt;vladimir.saveliev@hpe.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/49933&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/49933&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16537&quot; title=&quot;osd-ldiskfs prevents writing of last block of very large ldiskfs file&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16537&quot;&gt;LU-16537&lt;/a&gt; osd-ldiskfs: allow write of last block of a file&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: be87b6bea275f17f9fa5197d170fe91e7520635e&lt;/p&gt;</comment>
                            <comment id="364375" author="vsaveliev" created="Tue, 28 Feb 2023 14:33:36 +0000"  >&lt;p&gt;Patch set 2 includes 4 tests which fail as shown below (when ran without fixes):&lt;/p&gt;

&lt;p&gt;ZFS:&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;# REFORMAT=yes ONLY=&quot;44c 44d&quot; FSTYPE=zfs bash /usr/lib64/lustre/tests/sanity.sh
&#8230;
== sanity test 44c: write 1 byte at max_object_bytes - 1 offset ========================================================== 14:59:45 (1677589185)
1+0 records in
1+0 records out
1 byte copied, 0.00192591 s, 0.5 kB/s
/mnt/lustre/f44c.sanity has size 0, not 9223372036854775807
 sanity test_44c: @@@@@@ FAIL: wrong size
  Trace dump:
...
FAIL 44c (0s)

== sanity test 44d: if write at position fails (EFBIG), so should do append ========================================================== 14:59:46 (1677589186)
dd: error writing &apos;/mnt/lustre/f44d.sanity&apos;: File too large
1+0 records in
0+0 records out
0 bytes copied, 0.00126738 s, 0.0 kB/s
1+0 records in
1+0 records out
1 byte copied, 0.000872801 s, 1.1 kB/s
 sanity test_44d: @@@@@@ FAIL: one of dd commands failed
  Trace dump:
...
FAIL 44d (0s)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;LDISKFS:&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;# RUNAS_ID=1000 REFORMAT=yes ONLY=&quot;44b 44e&quot; FSTYPE=ldiskfs bash /usr/lib64/lustre/tests/sanity.sh
&#8230;
== sanity test 44b: write one byte at offset 0xfffffffe000 ========================================================== 15:01:48 (1677589308)
1+0 records in
1+0 records out
1 byte copied, 0.00301143 s, 0.3 kB/s
/mnt/lustre/f44b.sanity has size 0, not 17592186036225
 sanity test_44b: @@@@@@ FAIL: wrong size
  Trace dump:
...
FAIL 44b (0s)

== sanity test 44e: write and read maximal stripes ======= 15:01:48 (1677589308)
1+0 records in
1+0 records out
2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.0646687 s, 32.4 MB/s
1+0 records in
1+0 records out
2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.0396179 s, 52.9 MB/s
/tmp/f44e.sanity /mnt/lustre/f44e.sanity differ: byte 8193, line 45
cmp: /mnt/lustre/f44e.sanity: Input/output error
 sanity test_44e: @@@@@@ FAIL: cmp failed
  Trace dump:
...
FAIL 44e (2s)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="398274" author="gerrit" created="Tue, 2 Jan 2024 06:50:07 +0000"  >&lt;p&gt;&quot;Shaun Tancheff &amp;lt;shaun.tancheff@hpe.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/53569&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/53569&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16537&quot; title=&quot;osd-ldiskfs prevents writing of last block of very large ldiskfs file&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16537&quot;&gt;LU-16537&lt;/a&gt; test: sanity/44e tmpfile cmp&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 7770641e4be3bad6c2a123d18c3a8a5b80db4260&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="62581">LU-14384</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="75972">LU-16812</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|i03c8v:</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>