[Bugs] [Bug 1364522] New: Mem leak in meta_default_readv in meta xlators

bugzilla at redhat.com bugzilla at redhat.com
Fri Aug 5 15:08:52 UTC 2016


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

            Bug ID: 1364522
           Summary: Mem leak in meta_default_readv in meta xlators
           Product: GlusterFS
           Version: 3.8.1
         Component: unclassified
          Keywords: Triaged
          Assignee: rkavunga at redhat.com
          Reporter: ndevos at redhat.com
                CC: bugs at gluster.org
        Depends On: 1362397



+++ This bug was initially created as a clone of Bug #1362397 +++

Description of problem:

Meta xlators leaking iobuf and iobref in read code path, from the function
meta_default_readv


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


How reproducible:


Steps to Reproduce:
1. create a volume and do a fuse mount
2. read the file /mnt/.meta/version in loop
3.

Actual results:

memleak

Expected results:

there should not be any memleak

Additional info:

--- Additional comment from Mohammed Rafi KC on 2016-08-02 08:50:25 CEST ---

I opened the bug in glusterd, because I couldn't find a component named meta.

--- Additional comment from Vijay Bellur on 2016-08-02 08:53:42 CEST ---

REVIEW: http://review.gluster.org/15068 (meta: fix memory leak in meta xlators)
posted (#1) for review on master by mohammed rafi  kc (rkavunga at redhat.com)

--- Additional comment from Vijay Bellur on 2016-08-05 12:57:00 CEST ---

COMMIT: http://review.gluster.org/15068 committed in master by Raghavendra G
(rgowdapp at redhat.com) 
------
commit d297d2bdfc4d5ba99c37b22dd1ae0f8e8e92fe7b
Author: Mohammed Rafi KC <rkavunga at redhat.com>
Date:   Tue Aug 2 11:59:42 2016 +0530

    meta: fix memory leak in meta xlators

    meta xlator is leaking iobuf and iobrefs in read path

    This patch fixes memleak in meta_default_read code path

    Change-Id: Ieb413267604d9870dbe6e11258fffd279a7bd7cf
    BUG: 1362397
    Signed-off-by: Mohammed Rafi KC <rkavunga at redhat.com>
    Reviewed-on: http://review.gluster.org/15068
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
    Reviewed-by: Poornima G <pgurusid at redhat.com>

--- Additional comment from Vijay Bellur on 2016-08-05 16:06:58 CEST ---

REVIEW: http://review.gluster.org/15102 (meta: fix memory leak in meta xlators)
posted (#1) for review on release-3.7 by Oleksandr Natalenko
(oleksandr at natalenko.name)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1362397
[Bug 1362397] Mem leak in meta_default_readv in meta xlators
-- 
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=Iq8B5g2nHI&a=cc_unsubscribe


More information about the Bugs mailing list