[Bugs] [Bug 1779284] New: Backport GNFS memory leak fix to version 5

bugzilla at redhat.com bugzilla at redhat.com
Tue Dec 3 16:44:39 UTC 2019


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

            Bug ID: 1779284
           Summary: Backport GNFS memory leak fix to version 5
           Product: GlusterFS
           Version: 5
            Status: NEW
         Component: nfs
          Assignee: bugs at gluster.org
          Reporter: mail at aloibl.de
                CC: atumball at redhat.com, bugs at gluster.org,
                    rhs-bugs at redhat.com, sankarshan at redhat.com,
                    skoduri at redhat.com, vbellur at redhat.com,
                    xiechanglong at cmss.chinamobile.com
  Target Milestone: ---
    Classification: Community



I'm opening this issue to track a backport of the
  Change-Id: Ic61a8fdd0e941e136c98376a87b5a77fa8c22316
back into release-5 branch.

The bug #1711240 has been fixed and a patch committed and merged to master:

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

https://review.gluster.org/22738 (inode: fix wrong loop count in
__inode_ctx_free)


Reason for backporting the change:

for the master branch where this fix was merged into (i.e. version 7) GNFS is
deprecated and there is "--disable-gnfs" as default for (at least) the debian
packaging now: https://github.com/gluster/glusterfs-debian/commit/c91ec77552

so this fix for the GNFS memory leak is not actually accessible by upgrading to
the latest version, it will be neccessary to manually rebuild it (either apply
the patch for the previous releases or set "--enable-gnfs" configure flags for
version 7)

if this change gets backported everyone could still use the official glusterfs
packages from the repository instead of having to maintain own, patched
versions.

the patch applies cleanly on version 5 and resolves the issue, I've tested it
using glusterfs 5.10, manually rebuilt with the patch applied, and no more
leaking of memory occurred.

-- 
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