<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:00:27 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-6464] ldiskfs: ext4_map_inode_page() ready for large blocks count</title>
                <link>https://jira.whamcloud.com/browse/LU-6464</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;2.6.2 ext4_map_inode_page function&apos;s parameter blocks should be 64bit long&lt;br/&gt;
There is function with parameter &#8220;unsigned long *blocks&#8221;: &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-object&quot;&gt;int&lt;/span&gt; ext4_map_inode_page(struct inode *inode, struct page *page,
unsigned &lt;span class=&quot;code-object&quot;&gt;long&lt;/span&gt; *blocks, &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; create)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;But ext4_bmap returns sector_t value.&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;static&lt;/span&gt; sector_t ext4_bmap(struct address_space *mapping, sector_t block)
blocks[i] = ext4_bmap(inode-&amp;gt;i_mapping, iblock);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;That depending on macros can be 32 or 64 bit long&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; /**
 * The type used &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; indexing onto a disc or disc partition.
 *
 * Linux always considers sectors to be 512 bytes &lt;span class=&quot;code-object&quot;&gt;long&lt;/span&gt; independently
 * of the devices real block size.
 *
 * blkcnt_t is th type of the inode&apos;s block count.
 */
#ifdef CONFIG_LBDAF
typedef u64 sector_t;
typedef u64 blkcnt_t;
#&lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt;
typedef unsigned &lt;span class=&quot;code-object&quot;&gt;long&lt;/span&gt; sector_t;
typedef unsigned &lt;span class=&quot;code-object&quot;&gt;long&lt;/span&gt; blkcnt_t;
#endif
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;CONFIG_LBDAF:Enable block devices or files of size 2TB and larger.This option is required to support the full capacity of large (2TB+) block devices, including RAID, disk, Network Block&lt;br/&gt;
Device, Logical Volume Manager (LVM) and loopback.This option also enables support for single files larger than 2TB.The ext4 filesystem requires that this feature be enabled in order to support filesystems that have the huge_file feature enabled.  Otherwise, it will refuse to mount in the read-write mode any filesystems that use the huge_file feature, which is enabled by default by mke2fs.ext4.The GFS2 filesystem also requires this feature.If unsure, say Y.&lt;/p&gt;

&lt;p&gt;So we need to use sector_t for this array of blocks.&lt;br/&gt;
The field dr_blocks in osd_iobuf and its users should be corrected&lt;/p&gt;

&lt;p&gt;This problem is actual for x86_32 systems only.&lt;/p&gt;</description>
                <environment></environment>
        <key id="29501">LU-6464</key>
            <summary>ldiskfs: ext4_map_inode_page() ready for large blocks count</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</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="wc-triage">WC Triage</assignee>
                                    <reporter username="artem_blagodarenko">Artem Blagodarenko</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Tue, 14 Apr 2015 17:16:58 +0000</created>
                <updated>Fri, 5 Jun 2015 15:05:30 +0000</updated>
                            <resolved>Fri, 5 Jun 2015 15:05:30 +0000</resolved>
                                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="112119" author="gerrit" created="Tue, 14 Apr 2015 23:15:27 +0000"  >&lt;p&gt;Artem Blagodarenko (artem_blagodarenko@xyratex.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/14463&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/14463&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6464&quot; title=&quot;ldiskfs: ext4_map_inode_page() ready for large blocks count&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6464&quot;&gt;&lt;del&gt;LU-6464&lt;/del&gt;&lt;/a&gt; ldiskfs: 64bit pointers in ext4_map_inode_page()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f77a665e0133257f30b4453020c9d21c37ba8c78&lt;/p&gt;</comment>
                            <comment id="117538" author="gerrit" created="Fri, 5 Jun 2015 01:54:03 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/14463/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/14463/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6464&quot; title=&quot;ldiskfs: ext4_map_inode_page() ready for large blocks count&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6464&quot;&gt;&lt;del&gt;LU-6464&lt;/del&gt;&lt;/a&gt; ldiskfs: 64bit pointers in ext4_map_inode_page()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 6f0f73eb72f63c8988aa89e2bf05f24b6588e584&lt;/p&gt;</comment>
                            <comment id="117577" author="pjones" created="Fri, 5 Jun 2015 15:05:30 +0000"  >&lt;p&gt;Landed for 2.8&lt;/p&gt;</comment>
                    </comments>
                    <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|hzxaqf:</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>