<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:56:54 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-12931] Fix minor errors with cfs_time_seconds usage</title>
                <link>https://jira.whamcloud.com/browse/LU-12931</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;cfs_time_seconds() converts seconds to jiffies.&lt;/p&gt;

&lt;p&gt;Unfortunately the name might suggest it returns seconds, rather than consumes them, so it is worth while doing an occasion audit to make sure it isn&apos;t being misused.&lt;/p&gt;

&lt;p&gt;At time of writing there is one place (in delayed_msg_check) where it is used but not needed (we have seconds and want seconds), and two places (ptl_recover_import and mgc_process_log) where the returned value is stored in a variable called &quot;sec&quot;.&#160; The variable is used correctly as jiffies, but the name is confusing.&lt;/p&gt;

&lt;p&gt;These irregularities should be fixed.&lt;/p&gt;</description>
                <environment></environment>
        <key id="57298">LU-12931</key>
            <summary>Fix minor errors with cfs_time_seconds usage</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="neilb">Neil Brown</assignee>
                                    <reporter username="neilb">Neil Brown</reporter>
                        <labels>
                            <label>LTS12</label>
                    </labels>
                <created>Mon, 4 Nov 2019 01:34:19 +0000</created>
                <updated>Mon, 19 Oct 2020 03:13:08 +0000</updated>
                            <resolved>Thu, 30 Jan 2020 14:43:09 +0000</resolved>
                                    <version>Lustre 2.11.0</version>
                    <version>Lustre 2.12.0</version>
                    <version>Lustre 2.13.0</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="257581" author="gerrit" created="Mon, 4 Nov 2019 02:01:37 +0000"  >&lt;p&gt;Neil Brown (neilb@suse.de) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36658&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36658&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12931&quot; title=&quot;Fix minor errors with cfs_time_seconds usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12931&quot;&gt;&lt;del&gt;LU-12931&lt;/del&gt;&lt;/a&gt; general: fix some cfs_time_seconds() inconsistencies.&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4522b507bed9b53329afbb387dc0318512f4deb3&lt;/p&gt;</comment>
                            <comment id="257666" author="gerrit" created="Mon, 4 Nov 2019 23:56:01 +0000"  >&lt;p&gt;Neil Brown (neilb@suse.de) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36668&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36668&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12931&quot; title=&quot;Fix minor errors with cfs_time_seconds usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12931&quot;&gt;&lt;del&gt;LU-12931&lt;/del&gt;&lt;/a&gt; general: fix some cfs_time_seconds() inconsistencies.&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 09fc491dafd95596493ce50ebaefc6e9da95498a&lt;/p&gt;</comment>
                            <comment id="257841" author="gerrit" created="Wed, 6 Nov 2019 18:09:24 +0000"  >&lt;p&gt;James Simmons (jsimmons@infradead.org) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36688&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36688&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12931&quot; title=&quot;Fix minor errors with cfs_time_seconds usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12931&quot;&gt;&lt;del&gt;LU-12931&lt;/del&gt;&lt;/a&gt; timers: correctly offset mod_timer.&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b2342bd0f3ce8bf388626cef3735b60e573de55d&lt;/p&gt;</comment>
                            <comment id="257896" author="gerrit" created="Thu, 7 Nov 2019 06:16:21 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36701&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36701&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12931&quot; title=&quot;Fix minor errors with cfs_time_seconds usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12931&quot;&gt;&lt;del&gt;LU-12931&lt;/del&gt;&lt;/a&gt; misc: correctly use jiffies for mod_timer&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4710fc32b245bb6a0ba8ec5056eb724c087cf1c2&lt;/p&gt;</comment>
                            <comment id="257897" author="gerrit" created="Thu, 7 Nov 2019 06:45:10 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/36702&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36702&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12931&quot; title=&quot;Fix minor errors with cfs_time_seconds usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12931&quot;&gt;&lt;del&gt;LU-12931&lt;/del&gt;&lt;/a&gt; misc: use jiffies for schedule_timeout()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: fd8a19e7ff56e63db6bf00e6c31004ee7781def8&lt;/p&gt;</comment>
                            <comment id="257960" author="adilger" created="Thu, 7 Nov 2019 22:20:46 +0000"  >&lt;p&gt;Note - only one of the patches 36702/36701/36688 needs to be landed.  The 36658 patch is fixing an unrelated (cosmetic) issue.&lt;/p&gt;</comment>
                            <comment id="259259" author="gerrit" created="Fri, 6 Dec 2019 00:57:30 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/36668/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36668/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12931&quot; title=&quot;Fix minor errors with cfs_time_seconds usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12931&quot;&gt;&lt;del&gt;LU-12931&lt;/del&gt;&lt;/a&gt; general: fix some cfs_time_seconds() inconsistencies.&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 451a2634a967a4784340ba1c47182e0bdb4d56e1&lt;/p&gt;</comment>
                            <comment id="259838" author="gerrit" created="Sat, 14 Dec 2019 05:56:40 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/36688/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36688/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12931&quot; title=&quot;Fix minor errors with cfs_time_seconds usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12931&quot;&gt;&lt;del&gt;LU-12931&lt;/del&gt;&lt;/a&gt; timers: correctly offset mod_timer.&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e150810faa5b22382b2213225478c3763195438b&lt;/p&gt;</comment>
                            <comment id="262191" author="simmonsja" created="Thu, 30 Jan 2020 14:43:09 +0000"  >&lt;p&gt;Seems all patches landed. If more are needed we can reopen.&lt;/p&gt;</comment>
                            <comment id="264301" author="gerrit" created="Sun, 1 Mar 2020 05:34:36 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/36702/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/36702/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12931&quot; title=&quot;Fix minor errors with cfs_time_seconds usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12931&quot;&gt;&lt;del&gt;LU-12931&lt;/del&gt;&lt;/a&gt; gnilnd: use time_after() to compare jiffies&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: bd1808a3a250003d865a6b0624bad2b5204bbd12&lt;/p&gt;</comment>
                            <comment id="268545" author="gerrit" created="Sat, 25 Apr 2020 09:24:07 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/38365&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38365&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12931&quot; title=&quot;Fix minor errors with cfs_time_seconds usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12931&quot;&gt;&lt;del&gt;LU-12931&lt;/del&gt;&lt;/a&gt; ldlm: use proper units for timeouts&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 1ec25e295d0c8028eeb49f5951f03b95693912c5&lt;/p&gt;</comment>
                            <comment id="270651" author="gerrit" created="Wed, 20 May 2020 08:22:28 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/38365/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38365/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12931&quot; title=&quot;Fix minor errors with cfs_time_seconds usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12931&quot;&gt;&lt;del&gt;LU-12931&lt;/del&gt;&lt;/a&gt; ldlm: use proper units for timeouts&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 3108bbb0b8485484bc1ac8ba5bac4276fc11c7c3&lt;/p&gt;</comment>
                            <comment id="281514" author="gerrit" created="Tue, 6 Oct 2020 08:13:12 +0000"  >&lt;p&gt;Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/40145&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40145&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12931&quot; title=&quot;Fix minor errors with cfs_time_seconds usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12931&quot;&gt;&lt;del&gt;LU-12931&lt;/del&gt;&lt;/a&gt; libcfs: skip cfs_time_seconds() indirection&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e3f8313165de044e793b280b6722b1fce8abe713&lt;/p&gt;</comment>
                            <comment id="282527" author="gerrit" created="Mon, 19 Oct 2020 03:13:08 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/40145/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40145/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12931&quot; title=&quot;Fix minor errors with cfs_time_seconds usage&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12931&quot;&gt;&lt;del&gt;LU-12931&lt;/del&gt;&lt;/a&gt; libcfs: skip cfs_time_seconds() indirection&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: faeeda3a69689f48605561f9e86e5a59b7d6b1fc&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|i00oxb:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>