Bug 1361665
| Summary: | Memory leak observed with upcall polling | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Soumya Koduri <skoduri> |
| Component: | upcall | Assignee: | Soumya Koduri <skoduri> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.8.1 | CC: | bugs |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.8.2 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1358608 | Environment: | |
| Last Closed: | 2016-08-12 09:48:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1358608, 1362010 | ||
| Bug Blocks: | 1338068 | ||
|
Description
Soumya Koduri
2016-07-29 16:46:37 UTC
REVIEW: http://review.gluster.org/15048 (glfs/upcall: entries should be removed under mutex lock) posted (#1) for review on release-3.8 by soumya k (skoduri) REVIEW: http://review.gluster.org/15049 (gfapi/upcall: Fix a ref leak) posted (#1) for review on release-3.8 by soumya k (skoduri) REVIEW: http://review.gluster.org/15049 (gfapi/upcall: Fix a ref leak) posted (#2) for review on release-3.8 by soumya k (skoduri) REVIEW: http://review.gluster.org/15048 (glfs/upcall: entries should be removed under mutex lock) posted (#2) for review on release-3.8 by soumya k (skoduri) COMMIT: http://review.gluster.org/15049 committed in release-3.8 by Niels de Vos (ndevos) ------ commit 56ed983c2d4cbfaffefb404e21db766007629400 Author: Soumya Koduri <skoduri> Date: Fri Jul 22 13:15:58 2016 +0530 gfapi/upcall: Fix a ref leak inode_find (used to create the handle) takes a reference of the inode. This needs to be un'refernced to avoid leak. This is backport of below master patch - http://review.gluster.org/14984 >Change-Id: I22f03577a8f1d9608cfc62d57202cfc4c2ba12b3 >BUG: 1358608 >Signed-off-by: Soumya Koduri <skoduri> >Reviewed-on: http://review.gluster.org/14984 >Reviewed-by: jiffin tony Thottan <jthottan> >Reviewed-by: Jeff Darcy <jdarcy> >(cherry picked from commit bb48eb46910085928efbd7fb491c5b2db25bba98) Change-Id: I92701af8a948d982fd4dbe31af32334c1bb26347 BUG: 1361665 Signed-off-by: Soumya Koduri <skoduri> Reviewed-on: http://review.gluster.org/15049 NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Niels de Vos <ndevos> Smoke: Gluster Build System <jenkins.org> COMMIT: http://review.gluster.org/15048 committed in release-3.8 by Niels de Vos (ndevos) ------ commit d64347d286b256e631b34b77c82216c0f122da42 Author: Soumya Koduri <skoduri> 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> >Reviewed-on: http://review.gluster.org/14972 >Reviewed-by: Shyamsundar Ranganathan <srangana> >Reviewed-by: Jeff Darcy <jdarcy> >(cherry picked from commit 89dee8b46e126bc1d7541da90fa60844aa83451e) Change-Id: I8f83175c7b550d8674dda5030168d5b94ccdd04c BUG: 1361665 Signed-off-by: Soumya Koduri <skoduri> Reviewed-on: http://review.gluster.org/15048 NetBSD-regression: NetBSD Build System <jenkins.org> Reviewed-by: Niels de Vos <ndevos> Smoke: Gluster Build System <jenkins.org> Reviewed-by: jiffin tony Thottan <jthottan> CentOS-regression: Gluster Build System <jenkins.org> 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.8.2, please open a new bug report. glusterfs-3.8.2 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] http://www.gluster.org/pipermail/announce/2016-August/000058.html [2] https://www.gluster.org/pipermail/gluster-users/ |