<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:58:42 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-13136] (layout.c:2121:__req_capsule_get()) @@@ Wrong buffer for field &apos;niobuf_inline&apos; (7 of 7) in format &apos;LDLM_INTENT_OPEN&apos;, 0 vs. 0 (server)</title>
                <link>https://jira.whamcloud.com/browse/LU-13136</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Since we upgraded Sherlock compute nodes from Lustre client 2.12 LTS to Lustre client 2.13.0, we&apos;re seeing the following error messages on the 2.13 clients:&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;Jan 10 17:45:03 sh-109-11.int kernel: LustreError: 363749:0:(layout.c:2121:__req_capsule_get()) @@@ Wrong buffer for field &apos;niobuf_inline&apos; (7 of 7) in format &apos;LDLM_INTENT_OPEN&apos;, 0 vs. 0 (server)  req@ffff8a4bdc2de300 x1652789462777344/t108684297018(108684297018) o101-&amp;gt;oak-MDT0001-mdc-ffff8a63bc27e000@10.0.2.52@o2ib5:12/10 lens 592/648 e 0 to 0 dl 1578707147 ref 3 fl Complete:RPQU/4/0 rc 0/0 job:&apos;&apos;
Jan 10 18:08:42 sh-109-11.int kernel: LustreError: 404571:0:(layout.c:2121:__req_capsule_get()) @@@ Wrong buffer for field &apos;niobuf_inline&apos; (7 of 7) in format &apos;LDLM_INTENT_OPEN&apos;, 0 vs. 0 (server)  req@ffff8a4bdd684800 x1652789475552640/t764228865102(764228865102) o101-&amp;gt;oak-MDT0000-mdc-ffff8a63bc27e000@10.0.2.52@o2ib5:12/10 lens 584/672 e 0 to 0 dl 1578708566 ref 3 fl Complete:RPQU/4/0 rc 0/0 job:&apos;&apos;
Jan 10 18:31:37 sh-109-11.int kernel: LustreError: 406707:0:(layout.c:2121:__req_capsule_get()) @@@ Wrong buffer for field &apos;niobuf_inline&apos; (7 of 7) in format &apos;LDLM_INTENT_OPEN&apos;, 0 vs. 0 (server)  req@ffff8a4fbb5d2400 x1652789596142720/t764553338818(764553338818) o101-&amp;gt;oak-MDT0000-mdc-ffff8a63bc27e000@10.0.2.52@o2ib5:12/10 lens 584/672 e 0 to 0 dl 1578709940 ref 3 fl Complete:RPQU/4/0 rc 0/0 job:&apos;&apos;
Jan 10 18:55:58 sh-109-11.int kernel: LustreError: 409784:0:(layout.c:2121:__req_capsule_get()) @@@ Wrong buffer for field &apos;niobuf_inline&apos; (7 of 7) in format &apos;LDLM_INTENT_OPEN&apos;, 0 vs. 0 (server)  req@ffff8a60041f1680 x1652789724785856/t764900612344(764900612344) o101-&amp;gt;oak-MDT0000-mdc-ffff8a63bc27e000@10.0.2.52@o2ib5:12/10 lens 584/672 e 0 to 0 dl 1578711402 ref 3 fl Complete:RPQU/4/0 rc 0/0 job:&apos;&apos;
Jan 10 19:21:06 sh-109-11.int kernel: LustreError: 412271:0:(layout.c:2121:__req_capsule_get()) @@@ Wrong buffer for field &apos;niobuf_inline&apos; (7 of 7) in format &apos;LDLM_INTENT_OPEN&apos;, 0 vs. 0 (server)  req@ffff8a4bc148a400 x1652789839725568/t765251846397(765251846397) o101-&amp;gt;oak-MDT0000-mdc-ffff8a63bc27e000@10.0.2.52@o2ib5:12/10 lens 584/672 e 0 to 0 dl 1578712910 ref 3 fl Complete:RPQU/4/0 rc 0/0 job:&apos;&apos;
Jan 11 00:25:18 sh-109-11.int kernel: LustreError: 363221:0:(layout.c:2121:__req_capsule_get()) @@@ Wrong buffer for field &apos;niobuf_inline&apos; (7 of 7) in format &apos;LDLM_INTENT_OPEN&apos;, 0 vs. 0 (server)  req@ffff8a49e8ebba80 x1652790011215872/t108687007176(108687007176) o101-&amp;gt;oak-MDT0001-mdc-ffff8a63bc27e000@10.0.2.52@o2ib5:12/10 lens 592/648 e 0 to 0 dl 1578731162 ref 3 fl Complete:RPQU/4/0 rc 0/0 job:&apos;&apos;
Jan 11 00:58:19 sh-109-11.int kernel: LustreError: 435607:0:(layout.c:2121:__req_capsule_get()) @@@ Wrong buffer for field &apos;niobuf_inline&apos; (7 of 7) in format &apos;LDLM_INTENT_OPEN&apos;, 0 vs. 0 (server)  req@ffff8a5317f8e300 x1652790028203136/t767649780647(767649780647) o101-&amp;gt;oak-MDT0000-mdc-ffff8a63bc27e000@10.0.2.52@o2ib5:12/10 lens 592/648 e 0 to 0 dl 1578733107 ref 3 fl Complete:RPQU/4/0 rc 0/0 job:&apos;&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It is only happening with Oak which is still running Lustre 2.10.8 (servers), not with Fir which is running Lustre 2.12.3_4 (servers).&lt;/p&gt;

&lt;p&gt;It&apos;s unclear if this has a negative impact. Oak is accessible and seems to work as expected. The error messages are a bit annoying though.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;br/&gt;
Stephane&lt;/p&gt;</description>
                <environment>CentOS 7.6, Lustre client 2.13.0 from WC</environment>
        <key id="57801">LU-13136</key>
            <summary>(layout.c:2121:__req_capsule_get()) @@@ Wrong buffer for field &apos;niobuf_inline&apos; (7 of 7) in format &apos;LDLM_INTENT_OPEN&apos;, 0 vs. 0 (server)</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="tappro">Mikhail Pershin</assignee>
                                    <reporter username="sthiell">Stephane Thiell</reporter>
                        <labels>
                    </labels>
                <created>Tue, 14 Jan 2020 22:47:14 +0000</created>
                <updated>Sun, 19 Apr 2020 14:29:43 +0000</updated>
                            <resolved>Tue, 28 Jan 2020 15:59:49 +0000</resolved>
                                    <version>Lustre 2.13.0</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                    <fixVersion>Lustre 2.12.5</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="261236" author="adilger" created="Wed, 15 Jan 2020 06:56:52 +0000"  >&lt;p&gt;Mike, could you please take a look.  It appears that the &lt;tt&gt;niobuf_inline&lt;/tt&gt; buffer was added as part of patch &lt;a href=&quot;https://review.whamcloud.com/23011&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/23011&lt;/a&gt; &quot;&lt;tt&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10181&quot; title=&quot;DoM performance optimization&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10181&quot;&gt;&lt;del&gt;LU-10181&lt;/del&gt;&lt;/a&gt; mdt: read on open for DoM files&lt;/tt&gt;&quot;, so it makes sense that this is unlikely to work with 2.10 servers, but sohuldn&apos;t be spewing an error on the client.&lt;/p&gt;

&lt;p&gt;Mike,&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;is this message indicating any problem, or (as I suspect) just complaining that the read-on-open buffer is not available, since the 2.10.x server isn&apos;t sending any data?&lt;/li&gt;
	&lt;li&gt;is there some tunable parameter that could disable the read-on-open functionality temporarily?&lt;/li&gt;
	&lt;li&gt;can you please make a patch for the clients?&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;At first glance, it may be enough to replace the call in &lt;tt&gt;ll_dom_finish_open()&lt;/tt&gt; to &lt;tt&gt;req_capsule_has_field()&lt;/tt&gt; with &lt;tt&gt;req_capsule_field_present()&lt;/tt&gt;.  My understanding is that the former checks whether the named field &lt;em&gt;might&lt;/em&gt; be present in a particular message format, while the latter checks whether the field is &lt;em&gt;actually&lt;/em&gt; present in the message being processed.&lt;/p&gt;</comment>
                            <comment id="261240" author="tappro" created="Wed, 15 Jan 2020 07:56:39 +0000"  >&lt;p&gt;Andreas, right, the &lt;tt&gt;req_capsule_field_present()&lt;/tt&gt; must be used there. This error message is just complaining, I will prepare patch. As for disabling read-on-open, that will not help, this feature is server parameter, client was supposed to ignore old servers silently. We could use &lt;tt&gt;mdc_dom_min_repsize&lt;/tt&gt; option on client to set zero length of niobuf, but that &apos;extra data length&apos; and buffer still has header so its size is not zero. &lt;del&gt;I think that also should be addressed in patch - no sense to pass header with expected zero buffer length, whole buffer size should be set to zero.&lt;/del&gt; This is better to keep as is, changing that would cause protocol change and compatibility issues while benefit is aesthetic mostly&lt;/p&gt;</comment>
                            <comment id="261248" author="gerrit" created="Wed, 15 Jan 2020 12:16:24 +0000"  >&lt;p&gt;Mike Pershin (mpershin@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/37249&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37249&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13136&quot; title=&quot;(layout.c:2121:__req_capsule_get()) @@@ Wrong buffer for field &amp;#39;niobuf_inline&amp;#39; (7 of 7) in format &amp;#39;LDLM_INTENT_OPEN&amp;#39;, 0 vs. 0 (server)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13136&quot;&gt;&lt;del&gt;LU-13136&lt;/del&gt;&lt;/a&gt; dom: check read-on-open buffer presents in reply&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: a12e36d71a9d06cca4aad69de28e9af052f9168a&lt;/p&gt;</comment>
                            <comment id="261966" author="gerrit" created="Tue, 28 Jan 2020 06:02:37 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/37249/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/37249/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13136&quot; title=&quot;(layout.c:2121:__req_capsule_get()) @@@ Wrong buffer for field &amp;#39;niobuf_inline&amp;#39; (7 of 7) in format &amp;#39;LDLM_INTENT_OPEN&amp;#39;, 0 vs. 0 (server)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13136&quot;&gt;&lt;del&gt;LU-13136&lt;/del&gt;&lt;/a&gt; dom: check read-on-open buffer presents in reply&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 58bea527100b50abf3df2dbab0ed6d6b42b69d86&lt;/p&gt;</comment>
                            <comment id="267261" author="gerrit" created="Thu, 9 Apr 2020 14:22:12 +0000"  >&lt;p&gt;Minh Diep (mdiep@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/38188&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38188&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13136&quot; title=&quot;(layout.c:2121:__req_capsule_get()) @@@ Wrong buffer for field &amp;#39;niobuf_inline&amp;#39; (7 of 7) in format &amp;#39;LDLM_INTENT_OPEN&amp;#39;, 0 vs. 0 (server)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13136&quot;&gt;&lt;del&gt;LU-13136&lt;/del&gt;&lt;/a&gt; dom: check read-on-open buffer presents in reply&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 2df4913d85a3826636d27bbe6cf75a4c7dd21bfd&lt;/p&gt;</comment>
                            <comment id="267974" author="gerrit" created="Sun, 19 Apr 2020 08:49:46 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/38188/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38188/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13136&quot; title=&quot;(layout.c:2121:__req_capsule_get()) @@@ Wrong buffer for field &amp;#39;niobuf_inline&amp;#39; (7 of 7) in format &amp;#39;LDLM_INTENT_OPEN&amp;#39;, 0 vs. 0 (server)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13136&quot;&gt;&lt;del&gt;LU-13136&lt;/del&gt;&lt;/a&gt; dom: check read-on-open buffer presents in reply&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: de60bf29f4a4f6b1443850ce5797c23b4290f36e&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="49055">LU-10181</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="57812">LU-13143</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="58699">LU-13438</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="58483">LU-13382</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|i00s0v:</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>