<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:07: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-14217] better SEEK_HOLE/DATA support in OSD-ZFS</title>
                <link>https://jira.whamcloud.com/browse/LU-14217</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;After &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10810&quot; title=&quot;SEEK_HOLE and SEEK_DATA support for lseek&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10810&quot;&gt;&lt;del&gt;LU-10810&lt;/del&gt;&lt;/a&gt; the osd-zfs has support for SEEK_HOLE/DATA but with no access to ZFS &lt;tt&gt;dmu_offset_next()&lt;/tt&gt; function yet. So we had no check how it works actually with ZFS.&lt;br/&gt;
With latest ZFS 8.5 this was solved and I am able to run lseek tests on ZFS.&lt;br/&gt;
This reveals several problems with ZFS support for SEEK_HOLE/DATA&lt;/p&gt;

&lt;p&gt;1. Results for files with dirty data are unreliable, it can be that some &lt;tt&gt;offset&lt;/tt&gt; is reported as HOLE and immediate &lt;tt&gt;SEEK_DATA&lt;/tt&gt; for the same offset finds dirty data, switches to generic approach and reports DATA. This problem exists mostly because HOLE lseek doesn&apos;t check if data is dirty like SEEK_DATA does, so HOLE can be reported correctly even with dirty data&lt;br/&gt;
Solution is data sync and repeat lseek, or don&apos;t report that osd-zfs as supporting SEEK_DATA/HOLE, we cannot accept unreliable results while using &lt;tt&gt;SEEK_HOLE/DATA&lt;/tt&gt; in our tools, especially where data is copied.&lt;/p&gt;

&lt;p&gt;2. Current tests doesn&apos;t fit well with ZFS bigger block sizes, so either tests should be properly updated to check ZFS big blocksize and uses appropriate offsets or skip tests if blocksize is too big for reliable results.&lt;/p&gt;</description>
                <environment></environment>
        <key id="61992">LU-14217</key>
            <summary>better SEEK_HOLE/DATA support in OSD-ZFS</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="tappro">Mikhail Pershin</assignee>
                                    <reporter username="tappro">Mikhail Pershin</reporter>
                        <labels>
                    </labels>
                <created>Tue, 15 Dec 2020 11:43:16 +0000</created>
                <updated>Thu, 22 Jul 2021 03:38:02 +0000</updated>
                            <resolved>Thu, 22 Jul 2021 03:38:02 +0000</resolved>
                                                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="287569" author="gerrit" created="Tue, 15 Dec 2020 11:58:47 +0000"  >&lt;p&gt;Mike Pershin (mpershin@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/40970&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40970&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14217&quot; title=&quot;better SEEK_HOLE/DATA support in OSD-ZFS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14217&quot;&gt;&lt;del&gt;LU-14217&lt;/del&gt;&lt;/a&gt; osd-zfs: allow SEEK_HOLE/DATA only with sync&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 2fe91608147021874782a9ed49396f31f981d391&lt;/p&gt;</comment>
                            <comment id="308039" author="gerrit" created="Thu, 22 Jul 2021 01:49:25 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/40970/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40970/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14217&quot; title=&quot;better SEEK_HOLE/DATA support in OSD-ZFS&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14217&quot;&gt;&lt;del&gt;LU-14217&lt;/del&gt;&lt;/a&gt; osd-zfs: allow SEEK_HOLE/DATA only with sync&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: a3f5aa624b83307caf56ca6d2490040f6e9cf2fc&lt;/p&gt;</comment>
                            <comment id="308059" author="pjones" created="Thu, 22 Jul 2021 03:38:02 +0000"  >&lt;p&gt;Landed for 2.15&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="51334">LU-10810</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|i01h5z:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>