[Bugs] [Bug 1470170] New: mem-pool: mem_pool_fini() doesn' t release entire memory allocated

bugzilla at redhat.com bugzilla at redhat.com
Wed Jul 12 13:30:46 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1470170

            Bug ID: 1470170
           Summary: mem-pool: mem_pool_fini() doesn't release entire
                    memory allocated
           Product: GlusterFS
           Version: mainline
         Component: libgfapi
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: skoduri at redhat.com
        QA Contact: bugs at gluster.org
                CC: bugs at gluster.org



Description of problem:

At the moment, all the work which mem_pool_fini() does is to exit and cleanup
the sweeper thread. That doesn't ensure that all the memory allocated is
cleaned up as some of those allocations may still be in hot list or if in cold
list, sweeper thread may not have got chance to run through them.
hence we need to iterate though all those per-thread mem-pools and clean them
up as part of fini()

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list