[Bugs] [Bug 1311441] Fix mem leaks related to gfapi applications

bugzilla at redhat.com bugzilla at redhat.com
Sun Feb 28 10:37:56 UTC 2016


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



--- Comment #9 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/13527 committed in release-3.7 by Kaleb
KEITHLEY (kkeithle at redhat.com) 
------
commit 29adf166aa5f15202c5fe49369ad4f11df799c5b
Author: Soumya Koduri <skoduri at redhat.com>
Date:   Thu Dec 31 13:53:54 2015 +0530

    inode: Retire the inodes from the lru list in inode_table_destroy

    Inodes from the lru list are not moved to purge list unless they
    are retired. Also process the lru list first to unset their parent
    as we need to unset their dentry entries (the ones which may not be
    unset during '__inode_passivate' as they were hashed) which in turn
    shall unref their parent inodes which could be in active list.

    These parent inodes when unref'ed may well again fall into lru list
    and if we are at the end of traversing the list, we may miss to
    delete/retire that entry. Hence traverse the lru list till it
    gets empty.

    This is backport of the below patch
      - http://review.gluster.org/13125

    Change-Id: Ib7666e235e9b9644144a7c7933afb5e407e506ca
    BUG: 1311441
    Signed-off-by: Soumya Koduri <skoduri at redhat.com>
    Reviewed-on: http://review.gluster.org/13125
    Reviewed-by: Kaleb KEITHLEY <kkeithle at redhat.com>
    Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
    Reviewed-on: http://review.gluster.org/13527
    Smoke: Gluster Build System <jenkins at build.gluster.com>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.com>

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


More information about the Bugs mailing list