<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:46:32 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-4865] osd-zfs: increase object block size dynamically as object grows</title>
                <link>https://jira.whamcloud.com/browse/LU-4865</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The ZFS VFS code does change blocksize as file grows, e.g. in zfs_write()-&amp;gt;zfs_grow_blocksize(). But the osd-zfs just opens the objset and manipulate it directly by the DMU API, shortcutting ZFS VFS layers, so the zfs_grow_blocksize() logic will not work for us.&lt;/p&gt;

&lt;p&gt;Currently the osd-zfs set blocksize to 0 on MDS (then ZFS converts it to the default 512 byte block size), and to 128K on OSS. Neither is optimal setting. We may need to duplicate the ZPL functionality to grow block size dynamically as well.&lt;/p&gt;</description>
                <environment></environment>
        <key id="24075">LU-4865</key>
            <summary>osd-zfs: increase object block size dynamically as object grows</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="jay">Jinshan Xiong</assignee>
                                    <reporter username="isaac">Isaac Huang</reporter>
                        <labels>
                            <label>RZ_LS</label>
                            <label>zfs</label>
                    </labels>
                <created>Sun, 6 Apr 2014 20:00:51 +0000</created>
                <updated>Wed, 22 Jun 2022 19:31:13 +0000</updated>
                            <resolved>Mon, 29 Aug 2016 13:00:05 +0000</resolved>
                                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>13</watches>
                                                                            <comments>
                            <comment id="104442" author="isaac" created="Fri, 23 Jan 2015 00:17:54 +0000"  >&lt;p&gt;For large block support, the hard-coded 128K block size in osd_mkreg() should be changed.&lt;/p&gt;</comment>
                            <comment id="104601" author="behlendorf" created="Sat, 24 Jan 2015 02:06:09 +0000"  >&lt;p&gt;This really needs to be implemented in Lustre to ensure good performance over a range of file sizes.  While you can&apos;t use zfs_grow_blocksize since it&apos;s part of the ZPL.  This is really just a thin wrapper around dmu_object_set_blocksize() which does all the heavy lifting, and this is available.  It will also properly enforce the maximum supported block size allowed by the feature flags.&lt;/p&gt;</comment>
                            <comment id="104927" author="behlendorf" created="Wed, 28 Jan 2015 00:44:27 +0000"  >&lt;p&gt;I&apos;ll very likely take a crack at this tomorrow since this code is fresh in my mind after working on &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6152&quot; title=&quot;zfs large block support&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6152&quot;&gt;&lt;del&gt;LU-6152&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="110174" author="isaac" created="Thu, 19 Mar 2015 22:42:28 +0000"  >&lt;p&gt;A comment from Eric: The first write to a file might be at a large offset if multiple clients are all racing to write at different offsets in a shared Lustre file, but the client could send a hint with that first write that this file looks like it&apos;s streaming.&lt;/p&gt;</comment>
                            <comment id="112414" author="behlendorf" created="Mon, 20 Apr 2015 17:03:42 +0000"  >&lt;p&gt;A write to any offset larger than the maximum block size needs to result in the maximum block size being used for the file.&lt;/p&gt;</comment>
                            <comment id="114687" author="adilger" created="Fri, 8 May 2015 00:24:00 +0000"  >&lt;p&gt;As an enhancement after the basic implementation of the &quot;grow block size to match file size, and choose maximum blocksize&quot; code is done is to hook the block size selection into the ladvise call (&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4931&quot; title=&quot;New feature of giving server/storage side advice of accessing file&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4931&quot;&gt;&lt;del&gt;LU-4931&lt;/del&gt;&lt;/a&gt;) to have LADVISE_RANDOM select a smaller blocksize, or even allow that call to specify the random IO blocksize along with the flag. That would avoid large read-modify-write operations with large blocksize, similar to how it is possible to specify the blocksize for a ZVOL. &lt;/p&gt;</comment>
                            <comment id="117320" author="gerrit" created="Wed, 3 Jun 2015 18:08:35 +0000"  >&lt;p&gt;Jinshan Xiong (jinshan.xiong@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/15127&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15127&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4865&quot; title=&quot;osd-zfs: increase object block size dynamically as object grows&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4865&quot;&gt;&lt;del&gt;LU-4865&lt;/del&gt;&lt;/a&gt; zfs: grow block size by write pattern&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 7fc0e68df9f917fb0f590f3169867dfa082f6373&lt;/p&gt;</comment>
                            <comment id="126866" author="gerrit" created="Thu, 10 Sep 2015 01:02:46 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/15127/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15127/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4865&quot; title=&quot;osd-zfs: increase object block size dynamically as object grows&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4865&quot;&gt;&lt;del&gt;LU-4865&lt;/del&gt;&lt;/a&gt; zfs: grow block size by write pattern&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 3e4369135127b350dbc26a4a5dc94cfa46e394cf&lt;/p&gt;</comment>
                            <comment id="126958" author="jgmitter" created="Thu, 10 Sep 2015 18:06:05 +0000"  >&lt;p&gt;Landed for 2.8.0&lt;/p&gt;</comment>
                            <comment id="132774" author="gerrit" created="Thu, 5 Nov 2015 18:47:07 +0000"  >&lt;p&gt;Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/17053&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17053&lt;/a&gt;&lt;br/&gt;
Subject: Revert &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4865&quot; title=&quot;osd-zfs: increase object block size dynamically as object grows&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4865&quot;&gt;&lt;del&gt;LU-4865&lt;/del&gt;&lt;/a&gt; zfs: grow block size by write pattern&quot;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 2c3835d58993488669d15c2603d8fbbfd55f40d4&lt;/p&gt;</comment>
                            <comment id="133434" author="gerrit" created="Fri, 13 Nov 2015 12:40:00 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/17053/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/17053/&lt;/a&gt;&lt;br/&gt;
Subject: Revert &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4865&quot; title=&quot;osd-zfs: increase object block size dynamically as object grows&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4865&quot;&gt;&lt;del&gt;LU-4865&lt;/del&gt;&lt;/a&gt; zfs: grow block size by write pattern&quot;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d690560bcef69cfe91747ffb8a7efb77c04800e6&lt;/p&gt;</comment>
                            <comment id="142138" author="gerrit" created="Sat, 13 Feb 2016 06:20:27 +0000"  >&lt;p&gt;Jinshan Xiong (jinshan.xiong@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/18441&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/18441&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4865&quot; title=&quot;osd-zfs: increase object block size dynamically as object grows&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4865&quot;&gt;&lt;del&gt;LU-4865&lt;/del&gt;&lt;/a&gt; zfs: grow block size by write pattern&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: c2f3cb1cd31bb69b5ca08a56485e4fa4d7e03d7d&lt;/p&gt;</comment>
                            <comment id="163373" author="gerrit" created="Mon, 29 Aug 2016 04:24:44 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/18441/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/18441/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4865&quot; title=&quot;osd-zfs: increase object block size dynamically as object grows&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4865&quot;&gt;&lt;del&gt;LU-4865&lt;/del&gt;&lt;/a&gt; zfs: grow block size by write pattern&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: b738c4850935f3a9c483b3141cb37d6539557615&lt;/p&gt;</comment>
                            <comment id="163389" author="jgmitter" created="Mon, 29 Aug 2016 13:00:05 +0000"  >&lt;p&gt;Landed to master for 2.9.0&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="28353">LU-6152</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="70842">LU-15963</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="33039">LU-7404</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="39676">LU-8591</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="32369">LU-7226</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|hzwjc7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13423</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>