<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:10:49 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-830] need to clean lbuild&apos;s reuse cache</title>
                <link>https://jira.whamcloud.com/browse/LU-830</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;lbuild caches kernel and ofed build product.  Currently that cache grows without any pruning.  lbuild should do a pruning on each run to keep the amount of cache under control.&lt;/p&gt;</description>
                <environment></environment>
        <key id="12383">LU-830</key>
            <summary>need to clean lbuild&apos;s reuse cache</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="5">Cannot Reproduce</resolution>
                                        <assignee username="brian">Brian Murrell</assignee>
                                    <reporter username="brian">Brian Murrell</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 Nov 2011 11:00:29 +0000</created>
                <updated>Mon, 29 May 2017 02:45:58 +0000</updated>
                            <resolved>Mon, 29 May 2017 02:45:58 +0000</resolved>
                                    <version>Lustre 2.1.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="147634" author="mdiep" created="Fri, 1 Apr 2016 18:59:20 +0000"  >&lt;p&gt;Brian, how do you think we should do that?&lt;/p&gt;</comment>
                            <comment id="147637" author="brian" created="Fri, 1 Apr 2016 19:15:09 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=mdiep&quot; class=&quot;user-hover&quot; rel=&quot;mdiep&quot;&gt;mdiep&lt;/a&gt;: I don&apos;t remember the details of the cache TBH.  But cache management is about removing the oldest, least used cache entries.  There are tons of algorithms out there for doing so.  But before you can even implement one of those you need to know when each item in the cache is used.&lt;/p&gt;

&lt;p&gt;I have a faint recollection of there being a &quot;last-used&quot; indicator in each cache entry, such as touching a file when it was last used, etc.  That at least gets you the oldest-used items.  Maybe that is good enough.  You just gather up all of those last-used markers and delete the entries that are the oldest.&lt;/p&gt;

&lt;p&gt;But beware of incorrect algorithms.  Algorithms based on time alone are usually wrong.  i.e. &quot;delete all entries older than xx days&quot;.  A cache is at it&apos;s most effective when it&apos;s full.  The only reason to remove entries is to make room for new entries.  So an algorithm would be &quot;I need to add a new entry, which is yy size big so I need to remove only enough of the oldest entries to free up yy space&quot;.&lt;/p&gt;</comment>
                            <comment id="197341" author="adilger" created="Mon, 29 May 2017 02:45:58 +0000"  >&lt;p&gt;Close old ticket.&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|hzw2nb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10511</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>