<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:19:48 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-1800] Job Stats shows statahead thread</title>
                <link>https://jira.whamcloud.com/browse/LU-1800</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;I was just looking at &lt;tt&gt;lctl get_param mdt.&amp;#42;.job_stats&lt;/tt&gt; to see what it showed, now that &lt;tt&gt;test-framework.sh&lt;/tt&gt; enables it by default.  It appears that the &quot;&lt;tt&gt;ll&amp;#95;sa&amp;#95;&amp;lt;pid&amp;gt;&lt;/tt&gt;&quot; threads are showing up as a separate job for every &quot;&lt;tt&gt;ls&lt;/tt&gt;&quot; being run, instead of only &quot;&lt;tt&gt;ls.&amp;lt;uid&amp;gt;&lt;/tt&gt;&quot; as I would expect.&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;- job_id:          ll_sa_14097_0
  snapshot_time:   1346211655
  getattr:         { samples:           5, unit:  reqs }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Is it possible to do something like is done for IO, to store the jobid into the inode for the statahead, or pass the JobID on to the statahead thread, so that it doesn&apos;t send &quot;&lt;tt&gt;ll_sa_&amp;#42;&lt;/tt&gt;&quot; as the process name?&lt;/p&gt;</description>
                <environment></environment>
        <key id="15621">LU-1800</key>
            <summary>Job Stats shows statahead thread</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</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="bevans">Ben Evans</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Tue, 28 Aug 2012 23:45:04 +0000</created>
                <updated>Wed, 29 May 2019 17:09:29 +0000</updated>
                            <resolved>Wed, 29 May 2019 17:09:29 +0000</resolved>
                                    <version>Lustre 2.3.0</version>
                    <version>Lustre 2.4.0</version>
                    <version>Lustre 2.10.1</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="226430" author="adilger" created="Thu, 19 Apr 2018 22:00:33 +0000"  >&lt;p&gt;This is still an issue with 2.10.1 at least.&lt;/p&gt;

&lt;p&gt;Ben, is there any chance you could look into this?  I think passing on the &quot;parent&quot; JobID from the process running &quot;ls&quot; to the statahead thread would be best.  It &lt;em&gt;might&lt;/em&gt; be possible to pass environment variables to new threads via &lt;tt&gt;kthread_create()&lt;/tt&gt; at launch time, but I&apos;m not positive.&lt;/p&gt;</comment>
                            <comment id="226436" author="bevans" created="Thu, 19 Apr 2018 23:27:33 +0000"  >&lt;p&gt;I&apos;ll take a look, is there a good reproducer I can use to see the problem?&lt;/p&gt;</comment>
                            <comment id="226446" author="adilger" created="Fri, 20 Apr 2018 03:29:00 +0000"  >&lt;p&gt;For reproducer, just enable jobstats on the client (e.g. &lt;tt&gt;lctl set_param jobid_var=procname_uid&lt;/tt&gt;), run &quot;&lt;tt&gt;ls -l&lt;/tt&gt;&quot; on a directory, and check jobstats on the server(s). &lt;/p&gt;</comment>
                            <comment id="247979" author="bevans" created="Wed, 29 May 2019 17:09:29 +0000"  >&lt;p&gt;Fixed in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10698&quot; title=&quot;Specify complex JobIDs for Lustre&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10698&quot;&gt;&lt;del&gt;LU-10698&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <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|hzv4gf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4255</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>