<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:28:12 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-16575] UDSP memory leak</title>
                <link>https://jira.whamcloud.com/browse/LU-16575</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;There is a small memory leak reported by libcfs when using udsp.&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;[root@el8-mds2 ~]# dmesg -C
[root@el8-mds2 ~]# start.sh
insmod /home/hornc/lustre-wc-rel/libcfs/libcfs/libcfs.ko
insmod /home/hornc/lustre-wc-rel/lnet/lnet/lnet.ko
insmod /home/hornc/lustre-wc-rel/lnet/klnds/socklnd/ksocklnd.ko
debug=+net malloc
[root@el8-mds2 ~]# lnetctl udsp add --src tcp --priority 1
[root@el8-mds2 ~]# lustre_rmmod
[root@el8-mds2 ~]# dmesg | tail
[66520.595537] LNet: HW NUMA nodes: 1, HW CPU cores: 2, npartitions: 1
[66520.600543] alg: No test for adler32 (adler32-zlib)
[66521.319208] Key type ._llcrypt registered
[66521.319558] Key type .llcrypt registered
[66531.530270] LNet: 26041:0:(lib-ptl.c:956:lnet_clear_lazy_portal()) Active lazy portal 0 on exit
[66531.580271] Key type .llcrypt unregistered
[66531.581053] Key type ._llcrypt unregistered
[66531.586086] LNetError: 26089:0:(module.c:948:libcfs_exit()) Portals memory leaked: 32 bytes
[root@el8-mds2 ~]#
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="74737">LU-16575</key>
            <summary>UDSP memory leak</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="hornc">Chris Horn</assignee>
                                    <reporter username="hornc">Chris Horn</reporter>
                        <labels>
                    </labels>
                <created>Fri, 17 Feb 2023 21:23:57 +0000</created>
                <updated>Fri, 31 Mar 2023 18:23:38 +0000</updated>
                            <resolved>Fri, 31 Mar 2023 18:23:38 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="363319" author="hornc" created="Fri, 17 Feb 2023 22:08:03 +0000"  >&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;[root@el8-mds2 ~]# clean.sh
[root@el8-mds2 ~]# start.sh
insmod /home/hornc/lustre-wc-rel/libcfs/libcfs/libcfs.ko
insmod /home/hornc/lustre-wc-rel/lnet/lnet/lnet.ko
insmod /home/hornc/lustre-wc-rel/lnet/klnds/socklnd/ksocklnd.ko
debug=+net malloc
[root@el8-mds2 ~]# lctl clear
[root@el8-mds2 ~]# lnetctl udsp add --src tcp --priority 0
[root@el8-mds2 ~]# lnetctl udsp del --idx 0
[root@el8-mds2 ~]# lctl dk &amp;gt; /tmp/dk.log
[root@el8-mds2 ~]# perl /home/hornc/lustre-wc-rel/lustre/tests/leak_finder.pl /tmp/dk.log
Starting analysis since 0
   freed    128 bytes at 00000000e6076820 called hdr (module.c:libcfs_ioctl:238)
*** Free without malloc (128 bytes at 00000000e6076820, module.c:libcfs_ioctl:238)
   alloc     80 bytes at 0000000040ed7d27 called (*hdr_pp) (module.c:libcfs_ioctl_getdata:166)
   alloc    176 bytes at 000000004bc99907 called udsp (udsp.c:lnet_udsp_alloc:1099)
   alloc     32 bytes at 000000003b7c561d called (buf) (udsp.c:copy_ioc_udsp_descr:1496)
   freed     80 bytes at 0000000040ed7d27 called hdr (module.c:libcfs_ioctl:238)
   alloc     32 bytes at 00000000e7e1a5ff called (*hdr_pp) (module.c:libcfs_ioctl_getdata:166)
   freed    176 bytes at 000000004bc99907 called udsp (udsp.c:lnet_udsp_free:1132)
   freed     32 bytes at 00000000e7e1a5ff called hdr (module.c:libcfs_ioctl:238)
*** Leak: 32 bytes allocated at 000000003b7c561d (udsp.c:copy_ioc_udsp_descr:1496:(buf), debug file line 10)
maximum used: 288, amount leaked: 32
[root@el8-mds2 ~]#
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="363647" author="gerrit" created="Tue, 21 Feb 2023 22:16:17 +0000"  >&lt;p&gt;&quot;Chris Horn &amp;lt;chris.horn@hpe.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50081&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50081&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16575&quot; title=&quot;UDSP memory leak&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16575&quot;&gt;&lt;del&gt;LU-16575&lt;/del&gt;&lt;/a&gt; lnet: memory leak in copy_ioc_udsp_descr&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0efd4006770844f73dba8057b5f8283f3034d4c4&lt;/p&gt;</comment>
                            <comment id="365190" author="gerrit" created="Wed, 8 Mar 2023 03:27:58 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50081/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50081/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16575&quot; title=&quot;UDSP memory leak&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16575&quot;&gt;&lt;del&gt;LU-16575&lt;/del&gt;&lt;/a&gt; lnet: memory leak in copy_ioc_udsp_descr&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f8e129198b002589daf4acdaf10cb970e9dab44a&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|i03egv:</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>
                                                                                            <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>