Bug 1370388 - Locks xlators is leaking fdctx in pl_release()
Summary: Locks xlators is leaking fdctx in pl_release()
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: locks
Version: 3.7.14
Hardware: All
OS: All
unspecified
low
Target Milestone: ---
Assignee: Oleksandr Natalenko
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: glusterfs-3.7.15
TreeView+ depends on / blocked
 
Reported: 2016-08-26 07:16 UTC by Oleksandr Natalenko
Modified: 2016-09-01 09:33 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.7.15
Clone Of:
Environment:
Last Closed: 2016-09-01 09:22:29 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Oleksandr Natalenko 2016-08-26 07:16:36 UTC
Locks xlators is leaking fdctx in pl_release when inode_ctx_get return non-zero.

Comment 1 Worker Ant 2016-08-26 07:17:31 UTC
REVIEW: http://review.gluster.org/15322 (features/locks: fix fdctx leak in locks xlators) posted (#2) for review on release-3.7 by Oleksandr Natalenko (oleksandr)

Comment 2 Worker Ant 2016-08-26 15:03:11 UTC
COMMIT: http://review.gluster.org/15322 committed in release-3.7 by Pranith Kumar Karampuri (pkarampu) 
------
commit 1b6c7d62a78aae3f3f123e3ed82882de3745c827
Author: yanping.gao <yanping.gao>
Date:   Fri Aug 26 09:10:11 2016 +0300

    features/locks: fix fdctx leak in locks xlators
    
    Problem:
    Locks xlators is leaking fdctx in pl_release when
    inode_ctx_get return non-zero
    
    Fix:
    This patch fixes fdctx leak in pl_release path
    
    > Reviewed-on: http://review.gluster.org/15302
    > Smoke: Gluster Build System <jenkins.org>
    > CentOS-regression: Gluster Build System <jenkins.org>
    > NetBSD-regression: NetBSD Build System <jenkins.org>
    > Reviewed-by: Pranith Kumar Karampuri <pkarampu>
    > Tested-by: Pranith Kumar Karampuri <pkarampu>
    
    Change-Id: Icd5c5c681b7d890e7971b3b06d4258a51d45097d
    BUG: 1370388
    Signed-off-by: Yanping.gao <yanping.gao>
    Signed-off-by: Oleksandr Natalenko <oleksandr>
    Reviewed-on: http://review.gluster.org/15322
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>

Comment 3 Kaushal 2016-09-01 09:22:29 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.15, please open a new bug report.

glusterfs-3.7.15 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] https://www.gluster.org/pipermail/gluster-devel/2016-September/050714.html
[2] https://www.gluster.org/pipermail/gluster-users/

Comment 4 Kaushal 2016-09-01 09:33:49 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.15, please open a new bug report.

glusterfs-3.7.15 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] https://www.gluster.org/pipermail/gluster-devel/2016-September/050714.html
[2] https://www.gluster.org/pipermail/gluster-users/


Note You need to log in before you can comment on or make changes to this bug.