<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:46:47 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-11771] bad output in target_handle_reconnect: Recovery already passed deadline 71578:57</title>
                <link>https://jira.whamcloud.com/browse/LU-11771</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In functions target_handle_reconnect and&#160;target_handle_connect I&apos;ve found incorrect using of linux kernel time types.&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;&#160;&#160; &#160; &#160; now = ktime_get_seconds();
&#160; &#160; &#160; &#160; deadline = jiffies_to_msecs(target-&amp;gt;obd_recovery_timer.expires) /
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; MSEC_PER_SEC; &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Comparing jiffies converted to seconds and seconds from CLOCK_MONOTONIC is incorrect.&lt;br/&gt;
jiffies converted to seconds should be used Instead of ktime_get_seconds.&lt;br/&gt;
In this way we can avoid wrong timeouts in warnings and incorrect timeouts comparing.&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;2018-07-31 18:51:46 [ 8201.235800] Lustre: fs1-OST0000: Recovery already passed deadline 71578:57. If you do not want to wait more, please abort the recovery by force.
...
2018-07-31 18:51:46 [ 8201.236177] Lustre: fs1-OST0000: Denying connection for new client 71f8ec29-a676-0a96-3d1d-97b43c72e168(at 172.18.1.101@o2ib), waiting for 13 known clients (1 recovered, 11 in progress, and 1 evicted) to recover in 71578:57&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="54282">LU-11771</key>
            <summary>bad output in target_handle_reconnect: Recovery already passed deadline 71578:57</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="scherementsev">Sergey Cheremencev</reporter>
                        <labels>
                    </labels>
                <created>Thu, 13 Dec 2018 12:09:47 +0000</created>
                <updated>Tue, 8 Oct 2019 16:49:47 +0000</updated>
                            <resolved>Sat, 25 May 2019 12:04:03 +0000</resolved>
                                                    <fixVersion>Lustre 2.13.0</fixVersion>
                    <fixVersion>Lustre 2.12.3</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="238530" author="gerrit" created="Thu, 13 Dec 2018 12:36:08 +0000"  >&lt;p&gt;Sergey Cheremencev (c17829@cray.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33848&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33848&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11771&quot; title=&quot;bad output in target_handle_reconnect: Recovery already passed deadline 71578:57&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11771&quot;&gt;&lt;del&gt;LU-11771&lt;/del&gt;&lt;/a&gt; ldlm: fix timeout in tgt_handle_re/connect message&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 3459d62a3cd8313e564942ba6ebc08204b9e0960&lt;/p&gt;</comment>
                            <comment id="238547" author="simmonsja" created="Thu, 13 Dec 2018 18:11:07 +0000"  >&lt;p&gt;What you are suggesting is the the seconds since boot don&apos;t match the jiffies mapped to seconds since boot. Note if you build lustre on a system with CONF_HZ=1000 and install on a system with CONF_HZ=100 this patch will break.&lt;/p&gt;</comment>
                            <comment id="238560" author="adilger" created="Thu, 13 Dec 2018 20:45:05 +0000"  >&lt;p&gt;It would also be useful to improve the error message &quot;&lt;tt&gt;If you do not want to wait more, please abort the recovery by force.&lt;/tt&gt;&quot; to be more specific, like &quot;&lt;tt&gt;Please run &apos;lctl --device fs1-OST0000 abort_recovery&apos; to force recovery to finish.  This evicts clients and may cause application IO errors.&lt;/tt&gt;&quot;&lt;/p&gt;</comment>
                            <comment id="238564" author="adilger" created="Thu, 13 Dec 2018 21:41:51 +0000"  >&lt;p&gt;This problem was introduced in patch &lt;a href=&quot;https://review.whamcloud.com/29295&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/29295&lt;/a&gt; &quot;&lt;tt&gt;&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; ldlm: migrate the rest of the code to 64 bit time&lt;/tt&gt;&quot;&lt;/p&gt;</comment>
                            <comment id="238573" author="simmonsja" created="Fri, 14 Dec 2018 00:13:34 +0000"  >&lt;p&gt;The reason for this is that jiffies is initialized to 5 minutes before the machine actually boots. So jiffies starts at -300 * HZ while ktime actually starts at 0. I will look carefully at the difference between the two some time tomorrow.&lt;/p&gt;</comment>
                            <comment id="238583" author="gerrit" created="Fri, 14 Dec 2018 03:04:47 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33857&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33857&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11771&quot; title=&quot;bad output in target_handle_reconnect: Recovery already passed deadline 71578:57&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11771&quot;&gt;&lt;del&gt;LU-11771&lt;/del&gt;&lt;/a&gt; osd: avoid use of HZ in brw_stats&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 2bb2e975b96651ff271020a0b2efbc7e452c71c3&lt;/p&gt;</comment>
                            <comment id="238713" author="gerrit" created="Mon, 17 Dec 2018 22:43:14 +0000"  >&lt;p&gt;James Simmons (uja.ornl@yahoo.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33883&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33883&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11771&quot; title=&quot;bad output in target_handle_reconnect: Recovery already passed deadline 71578:57&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11771&quot;&gt;&lt;del&gt;LU-11771&lt;/del&gt;&lt;/a&gt; ldlm: use hrtimer for recovery&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: fd7a6b308cb1094fa4cf0cd20aebe9ede9f779fc&lt;/p&gt;</comment>
                            <comment id="239360" author="gerrit" created="Fri, 4 Jan 2019 04:49:17 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33857/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33857/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11771&quot; title=&quot;bad output in target_handle_reconnect: Recovery already passed deadline 71578:57&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11771&quot;&gt;&lt;del&gt;LU-11771&lt;/del&gt;&lt;/a&gt; osd: avoid use of HZ in brw_stats&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8d83e946bc96df6535d9f501db400e2196a45668&lt;/p&gt;</comment>
                            <comment id="239397" author="pjones" created="Fri, 4 Jan 2019 05:37:18 +0000"  >&lt;p&gt;Andreas&apos;s patch just landed. Do we need Sergey&apos;s and/or James&apos;s too or can they now be abandoned?&lt;/p&gt;</comment>
                            <comment id="239419" author="simmonsja" created="Fri, 4 Jan 2019 22:26:38 +0000"  >&lt;p&gt;The patch that landed was a fix for something else. We need to land the other patch.&lt;/p&gt;</comment>
                            <comment id="245355" author="gerrit" created="Mon, 8 Apr 2019 05:32:42 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33883/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33883/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11771&quot; title=&quot;bad output in target_handle_reconnect: Recovery already passed deadline 71578:57&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11771&quot;&gt;&lt;del&gt;LU-11771&lt;/del&gt;&lt;/a&gt; ldlm: use hrtimer for recovery to fix timeout messages&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 1ba794f6ec9e7ce7ad65fd74f170089fffc31d91&lt;/p&gt;</comment>
                            <comment id="245434" author="simmonsja" created="Mon, 8 Apr 2019 17:15:22 +0000"  >&lt;p&gt;Patch landed that resolves this issue.&lt;/p&gt;</comment>
                            <comment id="245489" author="gerrit" created="Tue, 9 Apr 2019 19:47:10 +0000"  >&lt;p&gt;James Simmons (uja.ornl@yahoo.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/34626&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34626&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11771&quot; title=&quot;bad output in target_handle_reconnect: Recovery already passed deadline 71578:57&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11771&quot;&gt;&lt;del&gt;LU-11771&lt;/del&gt;&lt;/a&gt; ldlm: use hrtimer for recovery to fix timeout messages&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 64d859077f20971360e221b17e7f1fb6e0b0a148&lt;/p&gt;</comment>
                            <comment id="245517" author="gerrit" created="Wed, 10 Apr 2019 14:55:25 +0000"  >&lt;p&gt;James Nunez (jnunez@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/34629&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34629&lt;/a&gt;&lt;br/&gt;
Subject: Revert &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11771&quot; title=&quot;bad output in target_handle_reconnect: Recovery already passed deadline 71578:57&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11771&quot;&gt;&lt;del&gt;LU-11771&lt;/del&gt;&lt;/a&gt; ldlm: use hrtimer for recovery to fix timeout messages&quot;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 78c69a1d9ea4dfe3f34afeacec820e6d56f24ced&lt;/p&gt;</comment>
                            <comment id="245527" author="simmonsja" created="Wed, 10 Apr 2019 16:07:38 +0000"  >&lt;p&gt;So something changed which now makes this patch fail. Even the back ported version to 2.12 doesn&apos;t have these kinds of failures.&lt;/p&gt;</comment>
                            <comment id="245549" author="gerrit" created="Thu, 11 Apr 2019 00:03:14 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/34629/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34629/&lt;/a&gt;&lt;br/&gt;
Subject: Revert &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11771&quot; title=&quot;bad output in target_handle_reconnect: Recovery already passed deadline 71578:57&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11771&quot;&gt;&lt;del&gt;LU-11771&lt;/del&gt;&lt;/a&gt; ldlm: use hrtimer for recovery to fix timeout messages&quot;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 71f156e09259ef1e6e78b83cf68442b49c9ab25e&lt;/p&gt;</comment>
                            <comment id="246050" author="gerrit" created="Thu, 18 Apr 2019 23:09:14 +0000"  >&lt;p&gt;James Simmons (uja.ornl@yahoo.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/34710&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34710&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11771&quot; title=&quot;bad output in target_handle_reconnect: Recovery already passed deadline 71578:57&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11771&quot;&gt;&lt;del&gt;LU-11771&lt;/del&gt;&lt;/a&gt; ldlm: use hrtimer for recovery to fix timeout messages&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e319cc283e33842f0d62eb41067c3a28840f0cf9&lt;/p&gt;</comment>
                            <comment id="247690" author="gerrit" created="Sat, 25 May 2019 04:57:09 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/34710/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34710/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11771&quot; title=&quot;bad output in target_handle_reconnect: Recovery already passed deadline 71578:57&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11771&quot;&gt;&lt;del&gt;LU-11771&lt;/del&gt;&lt;/a&gt; ldlm: use hrtimer for recovery to fix timeout messages&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 9334f1d51249c186e15b42a1717312d03385153a&lt;/p&gt;</comment>
                            <comment id="247711" author="simmonsja" created="Sat, 25 May 2019 12:04:03 +0000"  >&lt;p&gt;Fix landed. We just need to let it soak.&lt;/p&gt;</comment>
                            <comment id="249574" author="gerrit" created="Thu, 20 Jun 2019 14:29:07 +0000"  >&lt;p&gt;James Simmons (uja.ornl@yahoo.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35276&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35276&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11771&quot; title=&quot;bad output in target_handle_reconnect: Recovery already passed deadline 71578:57&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11771&quot;&gt;&lt;del&gt;LU-11771&lt;/del&gt;&lt;/a&gt; ldlm: use hrtimer for recovery to fix timeout messages&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 6c1b9ce62e507b32b1ad867c34f3e1fd9db1eeb9&lt;/p&gt;</comment>
                            <comment id="252942" author="gerrit" created="Sun, 11 Aug 2019 23:34:08 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/35276/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35276/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-11771&quot; title=&quot;bad output in target_handle_reconnect: Recovery already passed deadline 71578:57&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-11771&quot;&gt;&lt;del&gt;LU-11771&lt;/del&gt;&lt;/a&gt; ldlm: use hrtimer for recovery to fix timeout messages&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 632bf95a442931b97c2ea4816fa3e56a7853a2a2&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="54262">LU-11762</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="42994">LU-9019</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="56919">LU-12769</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|i007y7:</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>