Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-74283

lvmlockd should free unused resource structures

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-9.7
    • rhel-9.6
    • lvm2
    • lvm2-2.03.32-1.el9
    • No
    • Moderate
    • rhel-storage-lvm
    • ssg_platform_storage
    • 16
    • 5
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      A resource structure in lvmlockd for an LV that had at one point been locked, will never be freed, even if that LV has been freed.  If many LVs are created and removed over time, an excessive number of unused structures creating long lists and wasted memory will accumulate.  This requires redesigning the structure lifetime logic.  A prerequisite for fixing this is cleaning up the command-side lvmlockd calls (RHEL-74276) to eliminate extraneous operations on resources which would unnecessarily recreate structures after they have been freed.

              cmarthal@redhat.com Corey Marthaler
              teigland@redhat.com David Teigland
              lvm-team lvm-team
              Cluster QE Cluster QE
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: