<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:17:05 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-1488] 2.1.2 servers, 1.8.8 clients _mdc_blocking_ast()) ### data mismatch with ino</title>
                <link>https://jira.whamcloud.com/browse/LU-1488</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When running 2.1.2 servers with RHEL5/1.8.8 clients, Servers are RHEL6 - seeing this error quite a bit.Test is recovery-scale, but error also observed with other tests. &lt;/p&gt;

&lt;p&gt;un  6 09:50:44 ehyperion354 Lustre: Server lustre-MDT0000_UUID version (2.1.1.0) is much newer than client version (1.8.8)&lt;br/&gt;
Jun  6 09:50:44 ehyperion354 LustreError: 25302:0:(namei.c:256:ll_mdc_blocking_ast()) ### data mismatch with ino 144115305952584894/0 (ffff8101b4b8e9a0) ns: lustre-MDT0000-mdc-ffff81021762a000 lock: ffff810160e1f400/0x793342fb2430adf9 lrc: 3/0,0 mode: PR/PR res: 8589941618/9406 bits 0x1 rrc: 2 type: IBT flags: 0x2002c90 remote: 0xe77c1b87ad8301fe expref: -99 pid: 25116 timeout: 0&lt;br/&gt;
Jun  6 09:50:44 ehyperion354 LustreError: 25116:0:(mdc_locks.c:653:mdc_enqueue()) ldlm_cli_enqueue error: -4&lt;br/&gt;
Jun  6 09:50:44 ehyperion354 LustreError: 25116:0:(file.c:3331:ll_inode_revalidate_fini()) failure -4 inode 180355073&lt;br/&gt;
Jun  6 09:50:44 ehyperion354 LustreError: 25303:0:(client.c:858:ptlrpc_import_delay_req()) @@@ IMP_INVALID  req@ffff810162637400 x1403992855059565/t0 o101-&amp;gt;lustre-MDT0000_UUID@192.168.120.126@o2ib:12/10 lens 544/1232 e 0 to 1 dl 0 ref 1 fl Rpc:/0/0 rc 0/0&lt;/p&gt;</description>
                <environment></environment>
        <key id="14767">LU-1488</key>
            <summary>2.1.2 servers, 1.8.8 clients _mdc_blocking_ast()) ### data mismatch with ino</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="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="ys">Yang Sheng</assignee>
                                    <reporter username="cliffw">Cliff White</reporter>
                        <labels>
                    </labels>
                <created>Wed, 6 Jun 2012 14:04:18 +0000</created>
                <updated>Fri, 22 Feb 2013 11:15:59 +0000</updated>
                            <resolved>Fri, 17 Aug 2012 09:06:47 +0000</resolved>
                                    <version>Lustre 1.8.8</version>
                                    <fixVersion>Lustre 1.8.9</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="40144" author="adilger" created="Wed, 6 Jun 2012 14:57:44 +0000"  >&lt;p&gt;This is interesting, but hopefully not a difficult problem to fix...&lt;/p&gt;

&lt;p&gt;The inode number is reported as ino = 144115305952584894 = 0x200001b720024be, gen = 0, while the lock resource is reported as ino = 8589941618 = 0x200001b72, gen = 9406 = 0x24be.  So there is no &lt;em&gt;real&lt;/em&gt; problem here (i.e. no mismatch of ino/generation between the inode and the DLM lock), but it just isn&apos;t comparing the two values correctly.  The inode number is the &quot;flattened&quot; version, while the DLM lock has the proper &quot;FID&quot;:&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;                fid = ll_inode_lu_fid(inode);
                :
                :
                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!fid_res_name_eq(fid, &amp;amp;lock-&amp;gt;l_resource-&amp;gt;lr_name)) {
                        LDLM_ERROR(lock, &lt;span class=&quot;code-quote&quot;&gt;&quot;data mismatch with ino %lu/%u (%p)&quot;&lt;/span&gt;,
                                   inode-&amp;gt;i_ino, inode-&amp;gt;i_generation, inode);
                }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;However, this doesn&apos;t totally explain the problem away, because the &quot;fid&quot; being compared is from ll_i2info(inode)-&amp;gt;ll_fid.f20, but LDLM_ERROR() doesn&apos;t actually print the &quot;fid&quot; value.  It isn&apos;t clear if the flattened inode number is &lt;em&gt;actually&lt;/em&gt; stored in lu_fid, or perhaps it is just uninitialized and failing the comparison for that reason, or is just full of garbage?&lt;/p&gt;

&lt;p&gt;If I had any skill with systemtap it would probably be possible to print out &quot;fid&quot; when this check fails, without having to submit a patch to do the same, build, land, install, and retest.&lt;/p&gt;</comment>
                            <comment id="40431" author="simmonsja" created="Tue, 12 Jun 2012 12:24:41 +0000"  >&lt;p&gt;Just test Lustre 2.2.0 servers with 1.8.8 and I saw the same problem.&lt;/p&gt;</comment>
                            <comment id="42338" author="pjones" created="Thu, 26 Jul 2012 13:08:37 +0000"  >&lt;p&gt;Bob&lt;/p&gt;

&lt;p&gt;Could you please look into this one?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="42613" author="pjones" created="Thu, 2 Aug 2012 14:51:47 +0000"  >&lt;p&gt;Yangsheng will look into this one&lt;/p&gt;</comment>
                            <comment id="42639" author="ys" created="Fri, 3 Aug 2012 02:16:41 +0000"  >&lt;p&gt;This issue cause by commit ef8bd11416bae8c03a65682f3a10a4da39922b45. The fid_build_reg_res_name() &amp;amp; fid_res_name_eq() use different way build &amp;amp; compare lu_fid &amp;amp; res. I&apos;ll produce a patch to fix it.&lt;/p&gt;</comment>
                            <comment id="42649" author="ys" created="Fri, 3 Aug 2012 08:14:58 +0000"  >&lt;p&gt;Patch upload to &lt;a href=&quot;http://review.whamcloud.com/3522&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/3522&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="42676" author="morrone" created="Fri, 3 Aug 2012 13:52:06 +0000"  >&lt;p&gt;Is there no way to fix this from the 2.X side?&lt;/p&gt;</comment>
                            <comment id="42679" author="ys" created="Fri, 3 Aug 2012 14:09:14 +0000"  >&lt;p&gt;I don&apos;t think this issue will cause a real problem. We only reference fid_res_name_eq() in ll_mdc_blocking_ast() and just doing a check and output a error message. In fact, it harmless. &lt;/p&gt;</comment>
                            <comment id="42683" author="morrone" created="Fri, 3 Aug 2012 14:18:43 +0000"  >&lt;p&gt;Alright, thanks!&lt;/p&gt;</comment>
                            <comment id="42723" author="ys" created="Mon, 6 Aug 2012 06:46:49 +0000"  >&lt;p&gt;I think b1_8 has some issue run on test system, Please take a look for &lt;a href=&quot;http://review.whamcloud.com/3539&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/3539&lt;/a&gt; . I just change lustre/ChangeLog. It still failed in same result and it works well when i download the packages on my local box.&lt;/p&gt;</comment>
                            <comment id="43406" author="pjones" created="Fri, 17 Aug 2012 09:06:47 +0000"  >&lt;p&gt;Fix landed for b1_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|hzvgw7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6386</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>