<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:20:31 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-15695] dt_ladvise(): ASSERTION( dt-&gt;do_body_ops-&gt;dbo_ladvise )</title>
                <link>https://jira.whamcloud.com/browse/LU-15695</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;We saw this OSS LBUG yesterday following the use of &lt;tt&gt;lfs ladvise&lt;/tt&gt;. Both 2.12.8 -based clients and servers (we have a &lt;a href=&quot;https://github.com/stanford-rc/lustre/commits/b2_12_8_oak_server&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;few patches&lt;/a&gt; on top).&lt;/p&gt;

&lt;p&gt;The command that triggered this from a client as root was:&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;touch testladvise
lfs ladvise -a dontneed -s 0 -e 1048576000 testladvise
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Result on the OSS:&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;Mar 24 18:53:55 oak-io7-s1 kernel: LustreError: 3782:0:(dt_object.h:2507:dt_ladvise()) ASSERTION( dt-&amp;gt;do_body_ops-&amp;gt;dbo_ladvise ) failed:&#160;
Mar 24 18:53:55 oak-io7-s1 kernel: LustreError: 3782:0:(dt_object.h:2507:dt_ladvise()) LBUG
Mar 24 18:53:55 oak-io7-s1 kernel: Pid: 3782, comm: ll_ost_io00_111 3.10.0-1160.6.1.el7_lustre.pl1.x86_64 #1 SMP Mon Dec 14 21:25:04 PST 2020
Mar 24 18:53:55 oak-io7-s1 kernel: Call Trace:
Mar 24 18:53:55 oak-io7-s1 kernel:&#160; [&amp;lt;ffffffffc085c7cc&amp;gt;] libcfs_call_trace+0x8c/0xc0 [libcfs]
Mar 24 18:53:55 oak-io7-s1 kernel:&#160; [&amp;lt;ffffffffc085c87c&amp;gt;] lbug_with_loc+0x4c/0xa0 [libcfs]
Mar 24 18:53:55 oak-io7-s1 kernel:&#160; [&amp;lt;ffffffffc15e12ce&amp;gt;] ofd_ladvise_hdl+0xdee/0xf10 [ofd]
Mar 24 18:53:55 oak-io7-s1 kernel:&#160; [&amp;lt;ffffffffc1235f1a&amp;gt;] tgt_request_handle+0xada/0x1570 [ptlrpc]
Mar 24 18:53:55 oak-io7-s1 kernel:&#160; [&amp;lt;ffffffffc11dabfb&amp;gt;] ptlrpc_server_handle_request+0x24b/0xab0 [ptlrpc]
Mar 24 18:53:55 oak-io7-s1 kernel:&#160; [&amp;lt;ffffffffc11de564&amp;gt;] ptlrpc_main+0xb34/0x1470 [ptlrpc]
Mar 24 18:53:55 oak-io7-s1 kernel:&#160; [&amp;lt;ffffffffac0c5c21&amp;gt;] kthread+0xd1/0xe0
Mar 24 18:53:55 oak-io7-s1 kernel:&#160; [&amp;lt;ffffffffac794ddd&amp;gt;] ret_from_fork_nospec_begin+0x7/0x21
Mar 24 18:53:55 oak-io7-s1 kernel:&#160; [&amp;lt;ffffffffffffffff&amp;gt;] 0xffffffffffffffff &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;However, I can&apos;t seem to reproduce on a test system. It is not time sensitive for us. Just wanted to open a ticket as I didn&apos;t find this LBUG on the Jira.&lt;/p&gt;</description>
                <environment>CentOS 7.9</environment>
        <key id="69273">LU-15695</key>
            <summary>dt_ladvise(): ASSERTION( dt-&gt;do_body_ops-&gt;dbo_ladvise )</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="3">Duplicate</resolution>
                                        <assignee username="pjones">Peter Jones</assignee>
                                    <reporter username="sthiell">Stephane Thiell</reporter>
                        <labels>
                    </labels>
                <created>Fri, 25 Mar 2022 15:49:48 +0000</created>
                <updated>Tue, 19 Dec 2023 20:17:31 +0000</updated>
                            <resolved>Tue, 19 Dec 2023 04:07:56 +0000</resolved>
                                    <version>Lustre 2.12.8</version>
                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="330278" author="adilger" created="Fri, 25 Mar 2022 18:30:42 +0000"  >&lt;p&gt;Looking at the code in 2.12.8 (and master) I see that &quot;&lt;tt&gt;.dbo_ladvise = osd_ladvise&lt;/tt&gt;&quot; is set in the object methods, so this assertion is very strange.  I was likewise unable to reproduce this issue on my test system, even with a directory or symlink, or with a PFL file that had an uninstantiated layout in the &quot;advice&quot; range.&lt;/p&gt;

&lt;p&gt;There is &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15139&quot; title=&quot;sanity test_160h: dt_record_write() ASSERTION( dt-&amp;gt;do_body_ops-&amp;gt;dbo_write ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15139&quot;&gt;&lt;del&gt;LU-15139&lt;/del&gt;&lt;/a&gt;, which is a similar &lt;tt&gt;LASSERT()&lt;/tt&gt; for missing object operations that is unexplained so far.&lt;/p&gt;

&lt;p&gt;PS: you should fork your lustre github repo from &lt;a href=&quot;https://github.com/lustre/lustre-release&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;lustre/lustre-release&lt;/a&gt;, which is the clone that I maintain from the whamcloud.com repo.&lt;/p&gt;</comment>
                            <comment id="330286" author="sthiell" created="Fri, 25 Mar 2022 19:39:27 +0000"  >&lt;p&gt;Interesting, ok I&apos;m now watching &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15139&quot; title=&quot;sanity test_160h: dt_record_write() ASSERTION( dt-&amp;gt;do_body_ops-&amp;gt;dbo_write ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15139&quot;&gt;&lt;del&gt;LU-15139&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;And very cool, I didn&apos;t know about the clone repo on Github, this is going to be useful, thanks!&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="366621" author="zam" created="Tue, 21 Mar 2023 10:46:56 +0000"  >&lt;p&gt;Wouldn&apos;t be possible to ignore ladvise requests if the object is not fully initialised? it is an optional hint, not a real read request as in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15139&quot; title=&quot;sanity test_160h: dt_record_write() ASSERTION( dt-&amp;gt;do_body_ops-&amp;gt;dbo_write ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15139&quot;&gt;&lt;del&gt;LU-15139&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="367037" author="adilger" created="Thu, 23 Mar 2023 11:08:46 +0000"  >&lt;p&gt;Zam, I agree.  The ladvise request could be dropped in this case, rather than taking the system down. &lt;/p&gt;</comment>
                            <comment id="393213" author="dongyang" created="Thu, 16 Nov 2023 00:26:00 +0000"  >&lt;p&gt;This should be fixed with &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/48080&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/48080&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16057&quot; title=&quot;OBD_MD_FLGROUP not set for ladvise rpc&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16057&quot;&gt;&lt;del&gt;LU-16057&lt;/del&gt;&lt;/a&gt; obdclass: set OBD_MD_FLGROUP for ladvise RPC&lt;/p&gt;</comment>
                            <comment id="393324" author="gerrit" created="Fri, 17 Nov 2023 00:04:00 +0000"  >&lt;p&gt;&lt;del&gt;&quot;Andriy Skulysh &amp;lt;andriy.skulysh@hpe.com&amp;gt;&quot; uploaded a new patch:&lt;/del&gt; &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/53161&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/53161&lt;/a&gt;&lt;br/&gt;
&lt;del&gt;Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15695&quot; title=&quot;dt_ladvise(): ASSERTION( dt-&amp;gt;do_body_ops-&amp;gt;dbo_ladvise )&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15695&quot;&gt;&lt;del&gt;LU-15695&lt;/del&gt;&lt;/a&gt; osd: dt_ladvise(): ASSERTION( dt&lt;/del&gt;&amp;gt;do_body_ops-&amp;gt;dbo_ladvise)-&lt;br/&gt;
&lt;del&gt;Project: fs/lustre-release&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Branch: master&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Current Patch Set: 1&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Commit: e2c5a0faaa6e2405e27575935fc8a96b8510bf8c&lt;/del&gt;&lt;/p&gt;</comment>
                            <comment id="397371" author="adilger" created="Tue, 19 Dec 2023 04:08:39 +0000"  >&lt;p&gt;The &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16057&quot; title=&quot;OBD_MD_FLGROUP not set for ladvise rpc&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16057&quot;&gt;&lt;del&gt;LU-16057&lt;/del&gt;&lt;/a&gt; patch was included in 2.15.53.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10324">
                    <name>Cloners</name>
                                                                <inwardlinks description="is cloned by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="63086">LU-15139</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="71538">LU-16057</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|i02ls7:</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>