<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:37:10 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-10672] lnet_notify() called incorrectly</title>
                <link>https://jira.whamcloud.com/browse/LU-10672</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Recent test logs contain several messages of the form&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;[15236.586059] LNet: 2816:0:(router.c:1822:lnet_notify()) Ignoring prediction from 10.9.5.183@tcp of 10.9.5.186@tcp down 15180764 seconds in the future
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;See for example &lt;a href=&quot;https://testing.hpdd.intel.com/test_logs/58f7b44e-1224-11e8-a10a-52540065bddc/show_text&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_logs/58f7b44e-1224-11e8-a10a-52540065bddc/show_text&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;lnet_notify()&lt;/tt&gt; expects callers to pass an absolute time in seconds for its &lt;tt&gt;when&lt;/tt&gt; parameter. But it looks like it&apos;s getting a relative value from &lt;tt&gt;LNetCtl()&lt;/tt&gt;:&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;        &lt;span class=&quot;code-keyword&quot;&gt;case&lt;/span&gt; IOC_LIBCFS_NOTIFY_ROUTER: {
                time64_t deadline = ktime_get_real_seconds() - data-&amp;gt;ioc_u64[0];

                &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; lnet_notify(NULL, data-&amp;gt;ioc_nid, data-&amp;gt;ioc_flags,
                                   deadline);
        }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;And it&apos;s getting timestamp in jiffies in &lt;tt&gt;ksocknal_peer_failed()&lt;/tt&gt;:&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;        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (notify)
                lnet_notify(peer_ni-&amp;gt;ksnp_ni, peer_ni-&amp;gt;ksnp_id.nid, 0,
                            cfs_time_seconds(last_alive)); &lt;span class=&quot;code-comment&quot;&gt;/* to jiffies */&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The other call sites should be audited as well.&lt;/p&gt;

&lt;p&gt;This seems to be partially due to &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9019&quot; title=&quot;Migrate lustre to standard 64 bit time kernel API&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9019&quot;&gt;&lt;del&gt;LU-9019&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="50839">LU-10672</key>
            <summary>lnet_notify() called incorrectly</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="simmonsja">James A Simmons</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>lnet</label>
                    </labels>
                <created>Thu, 15 Feb 2018 15:17:54 +0000</created>
                <updated>Tue, 16 Aug 2022 04:39:11 +0000</updated>
                            <resolved>Sat, 3 Mar 2018 14:09:49 +0000</resolved>
                                    <version>Lustre 2.11.0</version>
                                    <fixVersion>Lustre 2.11.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="221196" author="gerrit" created="Fri, 16 Feb 2018 19:31:46 +0000"  >&lt;p&gt;James Simmons (uja.ornl@yahoo.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/31339&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31339&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10672&quot; title=&quot;lnet_notify() called incorrectly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10672&quot;&gt;&lt;del&gt;LU-10672&lt;/del&gt;&lt;/a&gt; lnet: pass in only time64_t to lnet_notify&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 9b19545486660cd7ab176e1c71894fcde86a07fa&lt;/p&gt;</comment>
                            <comment id="222200" author="gerrit" created="Sat, 3 Mar 2018 04:30:17 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/31339/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31339/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10672&quot; title=&quot;lnet_notify() called incorrectly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10672&quot;&gt;&lt;del&gt;LU-10672&lt;/del&gt;&lt;/a&gt; lnet: pass in only time64_t to lnet_notify&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 5b5538e9e728292f1cb5501228a13b8f4787dd97&lt;/p&gt;</comment>
                            <comment id="222234" author="pjones" created="Sat, 3 Mar 2018 14:09:49 +0000"  >&lt;p&gt;Landed for 2.11&lt;/p&gt;</comment>
                            <comment id="343662" author="gerrit" created="Tue, 16 Aug 2022 04:39:11 +0000"  >&lt;p&gt;&quot;Akash B &amp;lt;akash-b@hpe.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/48226&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/48226&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10672&quot; title=&quot;lnet_notify() called incorrectly&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10672&quot;&gt;&lt;del&gt;LU-10672&lt;/del&gt;&lt;/a&gt; utils: snapshot support to foreign host&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 3730e0df3ac14a468741329361f28e8d75e8bcdc&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="42994">LU-9019</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|hzzsvr:</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>