<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:53:53 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-12584] File heat dump on a client</title>
                <link>https://jira.whamcloud.com/browse/LU-12584</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Adding filter policy inside kernel for heat dump on a client:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Inside kernel, a client maintains a list to track inodes&apos; file heat information&#160;for a Lustre filesystem instance.&lt;/li&gt;
	&lt;li&gt;Only a small part of inodes will be putted into this list.&lt;/li&gt;
	&lt;li&gt;When opening a file, add the corresponding inode to the list according to some predefined file heat filter policy (uid/gid/projid/fname or jobid); The filter policy can be defined by users.&lt;/li&gt;
	&lt;li&gt;Remove an inode from the list when it is finally released.&lt;/li&gt;
	&lt;li&gt;An administrator can dump the file heat information for inodes in the list to the user space.&lt;/li&gt;
	&lt;li&gt;Also all tracked inodes in the list can be cleared up by an administrator.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;First version only implements the base functionalities:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Dump the file heat information to user space.&lt;/li&gt;
	&lt;li&gt;Clear the file heat tracking list.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;The file heat filter policy will add when the patch&#160;&lt;a href=&quot;https://review.whamcloud.com/#/c/33126/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/33126/&lt;/a&gt;&#160;has been merged as it will separate some common command and rule parse functions shared with NRS TBF and PCC codes.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Some lfs lctl commands are also added to support the new file heat dump feature:&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;
enable file heat feature on a client
$ lctl set_param llite.*.heat=eanble
disable file heat feature on a client
$lctl set_param llite.*.heat=disable
config file heat parameters
$lctl set_param llite.*.heat=&lt;span class=&quot;code-quote&quot;&gt;&quot;conf decay_pct=70 period_second=90&quot;&lt;/span&gt;
list file heat information:
$ lctl get_param -n llite.*heat
dump file heat
$ lfs heat_dump [--num|-N &amp;lt;Num&amp;gt;] [--start-fid|-s &amp;lt;FID&amp;gt;] &amp;lt;mntpt&amp;gt;
clear the file heat tracking list on a client
$ lctl set_param llite.*.heat=clear
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Possible performance impact on the file creation/open:&#160;&lt;/p&gt;

&lt;p&gt;we add a global spin lock when add/remove tracked inodes into/from the list, it may affect the file creation performance.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="56480">LU-12584</key>
            <summary>File heat dump on a client</summary>
                <type id="2" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11311&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="qian_wc">Qian Yingjin</assignee>
                                    <reporter username="qian_wc">Qian Yingjin</reporter>
                        <labels>
                    </labels>
                <created>Wed, 24 Jul 2019 09:37:53 +0000</created>
                <updated>Sat, 30 Jan 2021 00:06:31 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="251932" author="gerrit" created="Wed, 24 Jul 2019 14:03:56 +0000"  >&lt;p&gt;Yingjin Qian (qian@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35602&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35602&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12584&quot; title=&quot;File heat dump on a client&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12584&quot;&gt;LU-12584&lt;/a&gt; llite: File heat dump feature on a client&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 20a5a7d0b0d5ce11ad2ab58b194a18af3efa9d1f&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </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|i00k3z:</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>