Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-16575

UDSP memory leak

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      There is a small memory leak reported by libcfs when using udsp.

      [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 ~]#
      

      Attachments

        Activity

          People

            hornc Chris Horn
            hornc Chris Horn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: