<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:51:29 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-12313] Mark lustre_inode_cache as reclaimable</title>
                <link>https://jira.whamcloud.com/browse/LU-12313</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;As discussed in &lt;a href=&quot;http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/2019-April/016396.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this email thread&lt;/a&gt; currently lustre does not mark memory allocated from slab as reclaimable.&#160;&lt;/p&gt;

&lt;p&gt;This makes the kernel&apos;s MemAvailable, SReclaimable and&#160;SUnreclaim (as reported by /proc/meminfo) unreliable, because the memory gets actually freed on memory pressure or when droping caches.&#160;&lt;/p&gt;

&lt;p&gt;This change should affect only how memory is reported and should not affect much else.&#160;&lt;/p&gt;

&lt;p&gt;As pointed out by NeilBrown other filesystems also set inode cache to reclaimable:&#160;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;That said: 9p, adfs, affs, befs, bfs, btrfs, ceph, cifs, coda, efs, ext2, ext4, f2fs, fat, freevxfs, fuse, gfs2, hpfs, isofs, jffs2, jfs, minix, nfs, nilfs, ntfs, ocfs2, openpromfs, overlayfs, procfs, qnx4, qnx6, reiserfs, romfs, squashfs, sysvfs, ubifs, udf, ufs, xfs all set SLAB_RECLAIM_ACCOUNT on their inode caches.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&#160;Also from NeilBrown:&#160;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Yes, I think lustre_inode_cache should certainly be flagged as&lt;br/&gt;
SLAB_RECLAIM_ACCOUNT.&lt;br/&gt;
If the SReclaimable value is too small (and there aren&apos;t many&lt;br/&gt;
reclaimable pagecache pages), vmscan can decide not to bother.  This is&lt;br/&gt;
probably a fairly small risk but it is possible that the missing&lt;br/&gt;
SLAB_RECLAIM_ACCOUNT flag can result in memory not being reclaimed when&lt;br/&gt;
it could be.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&#160;&lt;br/&gt;
It remains open question which other caches could also be marked as reclaimable but marking just lustre_inode_cache would be a good improvement. &lt;/p&gt;</description>
                <environment></environment>
        <key id="55672">LU-12313</key>
            <summary>Mark lustre_inode_cache as reclaimable</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="1">Fixed</resolution>
                                        <assignee username="Tomaka">Jacek Tomaka</assignee>
                                    <reporter username="Tomaka">Jacek Tomaka</reporter>
                        <labels>
                    </labels>
                <created>Sat, 18 May 2019 06:54:42 +0000</created>
                <updated>Thu, 27 Aug 2020 23:44:39 +0000</updated>
                            <resolved>Wed, 21 Aug 2019 12:07:32 +0000</resolved>
                                                    <fixVersion>Lustre 2.13.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="253009" author="gerrit" created="Wed, 14 Aug 2019 03:22:59 +0000"  >&lt;p&gt;Jacek Tomaka (jacek.tomaka@poczta.fm) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35790&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35790&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12313&quot; title=&quot;Mark lustre_inode_cache as reclaimable&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12313&quot;&gt;&lt;del&gt;LU-12313&lt;/del&gt;&lt;/a&gt; llite: Mark lustre_inode_cache as reclaimable&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 7f81c23593bc009d98853b031c4451ac04defe2e&lt;/p&gt;</comment>
                            <comment id="253352" author="gerrit" created="Wed, 21 Aug 2019 05:03:52 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/35790/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35790/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12313&quot; title=&quot;Mark lustre_inode_cache as reclaimable&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12313&quot;&gt;&lt;del&gt;LU-12313&lt;/del&gt;&lt;/a&gt; llite: Mark lustre_inode_cache as reclaimable&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: b09e63db24e5770b0a53ac6d68f91f08dc368be4&lt;/p&gt;</comment>
                            <comment id="253378" author="pjones" created="Wed, 21 Aug 2019 12:07:32 +0000"  >&lt;p&gt;Landed for 2.13&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="60417">LU-13909</issuekey>
        </issuelink>
                            </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|i00ghj:</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>