<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:13:50 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-14912] client picking other checksum type over T10PI</title>
                <link>https://jira.whamcloud.com/browse/LU-14912</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When server indicates it supports T10 checksums, the client could still pick other check types over T10PI as the other types getting better numbers during client benchmark.&lt;/p&gt;</description>
                <environment></environment>
        <key id="65518">LU-14912</key>
            <summary>client picking other checksum type over T10PI</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="dongyang">Dongyang Li</assignee>
                                    <reporter username="dongyang">Dongyang Li</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 Aug 2021 12:50:10 +0000</created>
                <updated>Tue, 17 May 2022 15:09:21 +0000</updated>
                            <resolved>Wed, 25 Aug 2021 16:40:30 +0000</resolved>
                                                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="309603" author="adilger" created="Sun, 8 Aug 2021 20:29:38 +0000"  >&lt;p&gt;T10-PI checksums were only added in 2.12, so I don&apos;t think it is reasonable for the server to return &lt;b&gt;only&lt;/b&gt; a single &lt;tt&gt;t10crc4K&lt;/tt&gt; checksum type, because this would  break interoperability for 2.10.x clients.&lt;/p&gt;

&lt;p&gt;One option for selecting the proper T10-PI checksum type automatically on the client, is to detect if only a &lt;b&gt;single&lt;/b&gt; &lt;tt&gt;OBD_CKSUM_T10&amp;#42;&lt;/tt&gt; type is returned to the client, then this indicates the server has T10-PI enabled (otherwise it would return multiple &lt;tt&gt;OBD_CKSUM_T10&amp;#42;&lt;/tt&gt; types), and it should prefer this over other checksum types.&lt;/p&gt;

&lt;p&gt;For example, on my test VM (no T10-PI support in the storage) it reports multiple &lt;tt&gt;t10&amp;#42;&lt;/tt&gt; checksum types enabled:&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;# lctl get_param osc.*.checksum_type
osc.testfs-OST0000-osc-ffff9ac928b3d800.checksum_type=
crc32 adler crc32c t10ip512 [t10ip4K] t10crc512 t10crc4K 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;while on a client where T10-PI hardware support is enabled on the server the client reports:&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;# lctl get_param osc.*.checksum_type
osc.testfs-OST0000-osc-ffff9ac928b3d800.checksum_type=
crc32 adler [crc32c] t10crc4K
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;In this case, the client should prefer the single &lt;tt&gt;t10crc4K&lt;/tt&gt; checksum type (if no type was specified) that matches the server hardware checksum type, even though &lt;tt&gt;crc32c&lt;/tt&gt; may be somewhat faster.&lt;/p&gt;</comment>
                            <comment id="310132" author="gerrit" created="Fri, 13 Aug 2021 09:10:16 +0000"  >&lt;p&gt;&quot;Li Dongyang &amp;lt;dongyangli@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/44657&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/44657&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14912&quot; title=&quot;client picking other checksum type over T10PI&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14912&quot;&gt;&lt;del&gt;LU-14912&lt;/del&gt;&lt;/a&gt; obdclass: prefer T10 checksum if the target supports it&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0c6d2cf5b4cc449253965cbd527e6a2f6ef0ee3e&lt;/p&gt;</comment>
                            <comment id="311122" author="gerrit" created="Wed, 25 Aug 2021 06:23:48 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/44657/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/44657/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-14912&quot; title=&quot;client picking other checksum type over T10PI&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-14912&quot;&gt;&lt;del&gt;LU-14912&lt;/del&gt;&lt;/a&gt; obdclass: prefer T10 checksum if the target supports it&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 5e9059e08aec6fb36de6788465978de0e962b956&lt;/p&gt;</comment>
                            <comment id="311168" author="pjones" created="Wed, 25 Aug 2021 16:40:30 +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="65579">LU-14924</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="50104">LU-10472</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="65450">LU-14895</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="52202">LU-11011</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|i020zb:</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>