<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:22:07 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-2072] Leak of s_mb_prealloc_table in ldiskfs</title>
                <link>https://jira.whamcloud.com/browse/LU-2072</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;All 2.x versions at least seems to be affected.&lt;/p&gt;

&lt;p&gt;It seems ext4-prealloc-rhel6.patch adds sbi-&amp;gt;s_mb_prealloc_table field that is allocated using kmalloc (128 bytes on my system) and is never freed.&lt;/p&gt;

&lt;p&gt;Needs to be freed in ldiskfs_mb_release&lt;/p&gt;</description>
                <environment></environment>
        <key id="16212">LU-2072</key>
            <summary>Leak of s_mb_prealloc_table in ldiskfs</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</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="bfaccini">Bruno Faccini</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                            <label>ldiskfs</label>
                    </labels>
                <created>Mon, 1 Oct 2012 23:46:32 +0000</created>
                <updated>Tue, 1 Sep 2015 22:52:13 +0000</updated>
                            <resolved>Wed, 6 Feb 2013 09:51:26 +0000</resolved>
                                                    <fixVersion>Lustre 2.4.0</fixVersion>
                    <fixVersion>Lustre 2.1.5</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="48308" author="pjones" created="Fri, 23 Nov 2012 10:02:50 +0000"  >&lt;p&gt;Bruno&lt;/p&gt;

&lt;p&gt;Can you please look into this one?&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="48338" author="bfaccini" created="Sat, 24 Nov 2012 03:27:16 +0000"  >&lt;p&gt;Hello Oleg,&lt;br/&gt;
Just for my understanding did you find this by monitoring the slabs usage or by browsing the source code ??&lt;br/&gt;
Thank&apos;s.&lt;br/&gt;
Bruno.&lt;/p&gt;</comment>
                            <comment id="48413" author="bfaccini" created="Tue, 27 Nov 2012 11:17:08 +0000"  >&lt;p&gt;Master patch submitted at &lt;a href=&quot;http://review.whamcloud.com/4683&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4683&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="48702" author="bfaccini" created="Mon, 3 Dec 2012 17:09:04 +0000"  >&lt;p&gt;Oops, just submitted patch set 2 ..., because I forgot some rules to patch a patch !!!&lt;/p&gt;</comment>
                            <comment id="48722" author="bfaccini" created="Tue, 4 Dec 2012 05:53:57 +0000"  >&lt;p&gt;Patch Set 2 looks better ..., I verified that after &quot;mount &lt;del&gt;t ldiskfs/umount/sync/drop_caches&quot;, super_block&lt;/del&gt;&amp;gt;s_fs_info&amp;gt;s_mb_prealloc_table was freed.&lt;/p&gt;</comment>
                            <comment id="50264" author="bfaccini" created="Thu, 10 Jan 2013 09:37:58 +0000"  >&lt;p&gt;I submitted patch #3 according to Andreas comment to better add missing kfree()s of s_mb_prealloc_table, in patch ext4-prealloc-rhel6.patch where it was introduced.&lt;/p&gt;

&lt;p&gt;I did not submit a new patch against ext4-&lt;span class=&quot;error&quot;&gt;&amp;#91;prealloc,malloc&amp;#93;&lt;/span&gt;-rhel5.patch for master since it seems we don&apos;t build master Server distros for rhel5, am I right ? Or do I need to do it anyway, at least for 1.8 ?&lt;/p&gt;



</comment>
                            <comment id="51866" author="bfaccini" created="Wed, 6 Feb 2013 09:50:34 +0000"  >&lt;p&gt;Status as fixed since not reported with Lustre-1.8/EL5 and Master patch should be ok for all 2.x versions.&lt;/p&gt;</comment>
                            <comment id="52737" author="emoly.liu" created="Wed, 20 Feb 2013 05:04:20 +0000"  >&lt;p&gt;b2_1 port is at &lt;a href=&quot;http://review.whamcloud.com/5474&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/5474&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="31855">LU-7087</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|hzv4w7:</customfieldvalue>

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