[Bugs] [Bug 1362010] Memory leak observed with upcall polling

bugzilla at redhat.com bugzilla at redhat.com
Tue Aug 2 09:18:58 UTC 2016


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



--- Comment #3 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/15058 committed in release-3.7 by Niels de
Vos (ndevos at redhat.com) 
------
commit 3fdf80501f9539067a0801ad279446a4be9013d3
Author: Soumya Koduri <skoduri at redhat.com>
Date:   Thu Jul 21 12:14:27 2016 +0530

    glfs/upcall: entries should be removed under mutex lock

    During poll, upcall entries should be removed from the
    upcall_list only under upcall_list_mutex lock. Otherwise
    it could result in the list corruption if there are entries
    being added during poll resulting in memory leak.

    Also addressed a probable leak during any failures with upcall
    entry addition.

    This is backport of below master patch -
       http://review.gluster.org/14972

    >Change-Id: I468183f961eb6faed9a0a1bcb783705f711641fc
    >BUG: 1358608
    >Signed-off-by: Soumya Koduri <skoduri at redhat.com>
    >Reviewed-on: http://review.gluster.org/14972
    >Reviewed-by: Shyamsundar Ranganathan <srangana at redhat.com>
    >Reviewed-by: Jeff Darcy <jdarcy at redhat.com>
    >(cherry picked from commit 89dee8b46e126bc1d7541da90fa60844aa83451e)

    Change-Id: Ib6702911ca1fa09a3f1a493b27195665603854d3
    BUG: 1362010
    Signed-off-by: Soumya Koduri <skoduri at redhat.com>
    Reviewed-on: http://review.gluster.org/15058
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Tested-by: Oleksandr Natalenko <oleksandr at natalenko.name>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Niels de Vos <ndevos at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=ToBWTJWYX7&a=cc_unsubscribe


More information about the Bugs mailing list