<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:11:26 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-7733] ptlrpc_lprocfs_svc_req_history_show (Seq_printf) time resolution should be higher than 1 second.</title>
                <link>https://jira.whamcloud.com/browse/LU-7733</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;We would like to see a higher time resolution in ptlrpc_lprocfs_svc_req_history_show output.&lt;/p&gt;

&lt;p&gt;Here we see it is only printing up to a second.&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;seq_printf(s, LPD64&lt;span class=&quot;code-quote&quot;&gt;&quot;:%s:%s:x&quot;&lt;/span&gt;LPU64&lt;span class=&quot;code-quote&quot;&gt;&quot;:%d:%s:%ld:%lds(%+lds) &quot;&lt;/span&gt;,
                           req-&amp;gt;rq_history_seq, libcfs_nid2str(req-&amp;gt;rq_self),
                           libcfs_id2str(req-&amp;gt;rq_peer), req-&amp;gt;rq_xid,
                           req-&amp;gt;rq_reqlen, ptlrpc_rqphase2str(req),
                           req-&amp;gt;rq_arrival_time.tv_sec,
                           req-&amp;gt;rq_sent - req-&amp;gt;rq_arrival_time.tv_sec,
                           req-&amp;gt;rq_sent - req-&amp;gt;rq_deadline);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</description>
                <environment></environment>
        <key id="34443">LU-7733</key>
            <summary>ptlrpc_lprocfs_svc_req_history_show (Seq_printf) time resolution should be higher than 1 second.</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</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="bogl">Bob Glossman</assignee>
                                    <reporter username="mhanafi">Mahmoud Hanafi</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Feb 2016 20:47:17 +0000</created>
                <updated>Mon, 19 Sep 2016 16:15:03 +0000</updated>
                            <resolved>Mon, 16 May 2016 21:42:59 +0000</resolved>
                                    <version>Lustre 2.5.3</version>
                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="141053" author="green" created="Wed, 3 Feb 2016 19:42:46 +0000"  >&lt;p&gt;its trivial to add extra resolution, the biggest question is that of compatibility. While we d o not have any tools that parse it, there might be something in the community that is not expecting anything but an integer there.&lt;/p&gt;

&lt;p&gt;Perhaps we need to ask around in lustre-devel?&lt;/p&gt;</comment>
                            <comment id="141055" author="pjones" created="Wed, 3 Feb 2016 19:44:49 +0000"  >&lt;p&gt;Bob&lt;/p&gt;

&lt;p&gt;Can you push a provisional change here while we assess the impact of making this change?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="141066" author="bogl" created="Wed, 3 Feb 2016 21:05:52 +0000"  >&lt;p&gt;not at all clear what is wanted here.  I can easily print a higher resolution value in place of req-&amp;gt;rq_arrival_time.tv_sec, just convert to jiffies or microseconds or something.  not very human readable compared to seconds IMHO.  don&apos;t know what to do about the diff values, req-&amp;gt;rq_sent - req-&amp;gt;rq_arrival_time.tv_sec and req-&amp;gt;rq_sent - req-&amp;gt;rq_deadline.  rq_sent is in seconds so I think only seconds diffs are easy to come by.&lt;/p&gt;</comment>
                            <comment id="141228" author="mhanafi" created="Thu, 4 Feb 2016 19:10:10 +0000"  >&lt;p&gt;We would be interested at lest microseconds. In the rpctrace debug dump the completion times are in micro-seconds. &lt;/p&gt;</comment>
                            <comment id="141430" author="gerrit" created="Fri, 5 Feb 2016 20:52:54 +0000"  >&lt;p&gt;Bob Glossman (bob.glossman@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/18335&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/18335&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7733&quot; title=&quot;ptlrpc_lprocfs_svc_req_history_show (Seq_printf) time resolution should be higher than 1 second.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7733&quot;&gt;&lt;del&gt;LU-7733&lt;/del&gt;&lt;/a&gt; ptlrpc: print times in microseconds&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4343fc1738f22b24042b12616b5ba16567ff30fe&lt;/p&gt;</comment>
                            <comment id="141432" author="bogl" created="Fri, 5 Feb 2016 21:00:17 +0000"  >&lt;p&gt;still not sure I&apos;m really addressing the request exactly, but have pushed a mod with my best guess.  it&apos;s at least a starting point for discussion.&lt;/p&gt;</comment>
                            <comment id="142017" author="mhanafi" created="Thu, 11 Feb 2016 20:24:42 +0000"  >&lt;p&gt;I agree with Andreas comment,  what we want is seconds.microsecond.&lt;/p&gt;

&lt;p&gt;I did try out the patch. One the MDS it is working but not the output we were looking for...&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;6250131278572683267:10.151.26.117@o2ib:12345-10.151.26.120@o2ib:x1525908159598524:224:Complete:1455222088536099:-536099us(-192000000us) opc 400
6250131278572683271:10.151.26.117@o2ib:12345-10.151.26.120@o2ib:x1525908159598504:224:Complete:1455222088536106:-536106us(-192000000us) opc 400
6250127494744440832:10.151.26.117@o2ib:12345-10.151.27.19@o2ib:x1525733058816312:264:Complete:1455221207545364:-545364us(-192000000us) opc 700
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;


&lt;p&gt;There is something wrong on the OSS as it doesn&apos;t print anything.&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;nbp1-oss1 /proc/fs/lustre/ost/OSS/ost_io # cat req_buffer_history_max
5000
nbp1-oss1 /proc/fs/lustre/ost/OSS/ost_io # cat req_buffer_history_len
1250
nbp1-oss1 /proc/fs/lustre/ost/OSS/ost_io # cat req_history
nbp1-oss1 /proc/fs/lustre/ost/OSS/ost_io # 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</comment>
                            <comment id="146957" author="mhanafi" created="Fri, 25 Mar 2016 18:45:50 +0000"  >&lt;p&gt;I don&apos;t understand the negative numbers here....&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;6266059553153941504:10.151.27.60@o2ib:12345-10.151.7.174@o2ib:x1529670166131456:328:Complete:1458930678.979710:-1.020290s(-192.0s) 
6266059553091026945:10.151.27.60@o2ib:12345-10.151.53.147@o2ib:x1529728924728644:328:Complete:1458930678.964339:-1.035661s(-192.0s) 
6266059553440268289:10.151.27.60@o2ib:12345-10.151.54.82@o2ib:x1529750902839948:328:Complete:1458930679.001036:-1.998964s(-192.0s) 
6266059553444003841:10.151.27.60@o2ib:12345-10.151.54.82@o2ib:x1529750902839960:328:Complete:1458930679.001944:-1.998056s(-192.0s) 
6266059553454292994:10.151.27.60@o2ib:12345-10.151.40.144@o2ib:x1529023858938888:328:Complete:1458930679.004457:-1.995543s(-192.0s) 
6266059553458880514:10.151.27.60@o2ib:12345-10.151.40.144@o2ib:x1529023858938904:328:Complete:1458930679.005578:-1.994422s(-192.0s) 
6266059553481883650:10.151.27.60@o2ib:12345-10.151.40.144@o2ib:x1529023858938924:328:Complete:1458930679.011186:-1.988814s(-192.0s) 
6266059553533132803:10.151.27.60@o2ib:12345-10.153.10.116@o2ib233:x1529703480218204:328:Complete:1458930679.023701:-1.976299s(-192.0s) 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="146971" author="bogl" created="Fri, 25 Mar 2016 20:41:59 +0000"  >&lt;p&gt;the negative numbers are because the values shown are deltas, not absolute times.  if I&apos;m not mistaken the values shown without the patch were always 0 or negative too.&lt;/p&gt;</comment>
                            <comment id="149449" author="jaylan" created="Tue, 19 Apr 2016 18:31:31 +0000"  >&lt;p&gt;Bob, the review #18335 has conflict with b2_7_fe. &apos;Git blame&apos; points to &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6070&quot; title=&quot;provide separate buffers for libcfs_*2str()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6070&quot;&gt;&lt;del&gt;LU-6070&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Do we need &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6070&quot; title=&quot;provide separate buffers for libcfs_*2str()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6070&quot;&gt;&lt;del&gt;LU-6070&lt;/del&gt;&lt;/a&gt; review #907a321c? Or can you provide a b2_7_fe back port?&lt;/p&gt;</comment>
                            <comment id="149453" author="bogl" created="Tue, 19 Apr 2016 18:36:15 +0000"  >&lt;p&gt;Jay,&lt;br/&gt;
There is no current plan to back port to b2_7_fe.  It can probably be done if thought important.  It&apos;s a priority call, I&apos;m not the decider.&lt;/p&gt;</comment>
                            <comment id="149464" author="jaylan" created="Tue, 19 Apr 2016 18:57:38 +0000"  >&lt;p&gt;Hi Bob, I can do the back port myself, given that Intel tells me that this patch would still work as expected without &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6070&quot; title=&quot;provide separate buffers for libcfs_*2str()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6070&quot;&gt;&lt;del&gt;LU-6070&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="149465" author="bogl" created="Tue, 19 Apr 2016 19:05:50 +0000"  >&lt;p&gt;Jay,&lt;br/&gt;
As far as I can tell &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6070&quot; title=&quot;provide separate buffers for libcfs_*2str()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6070&quot;&gt;&lt;del&gt;LU-6070&lt;/del&gt;&lt;/a&gt; changes have nothing whatsoever to do with this mod.  changes from both happen to overlap.&lt;/p&gt;

&lt;p&gt;I can&apos;t promise 100% that &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6070&quot; title=&quot;provide separate buffers for libcfs_*2str()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6070&quot;&gt;&lt;del&gt;LU-6070&lt;/del&gt;&lt;/a&gt; will never be going into b2_7_fe too, but I don&apos;t think it&apos;s a requirement for making changes from this mod apply there.&lt;/p&gt;

&lt;p&gt;We don&apos;t usually port to branches until after a mod lands in master.  This one hasn&apos;t.  Hasn&apos;t even gotten any feedback from the originator of the request if it meets his needs.&lt;/p&gt;
</comment>
                            <comment id="149476" author="jaylan" created="Tue, 19 Apr 2016 20:05:36 +0000"  >&lt;p&gt;Oops, sorry, Bob. I did not read the contents of this ticket. Yes the mod was simply to increase the time resolution in print messages. Actually I already cherry-picked the mod to b2_5_fe before. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="152433" author="gerrit" created="Mon, 16 May 2016 16:47:50 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/18335/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/18335/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7733&quot; title=&quot;ptlrpc_lprocfs_svc_req_history_show (Seq_printf) time resolution should be higher than 1 second.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7733&quot;&gt;&lt;del&gt;LU-7733&lt;/del&gt;&lt;/a&gt; ptlrpc: print times in microseconds&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 1929bfe81379a9c986bfa4202265f76d201a49bc&lt;/p&gt;</comment>
                            <comment id="152488" author="pjones" created="Mon, 16 May 2016 21:42:59 +0000"  >&lt;p&gt;Landed for 2.9&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </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|hzy01j:</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>