| Summary: | Fix compound fops memory leaks | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Krutika Dhananjay <kdhananj> |
| Component: | replicate | Assignee: | Krutika Dhananjay <kdhananj> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.9 | CC: | bugs, pkarampu, ravishankar |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.9.1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1401218 | Environment: | |
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | 1401218 | ||
| Bug Blocks: | 1401380 | ||
|
Description
Krutika Dhananjay
2016-12-07 04:24:22 UTC
REVIEW: http://review.gluster.org/16046 (afr, client: More mem-leak fixes in COMPOUND fop cbk) posted (#1) for review on release-3.9 by Krutika Dhananjay (kdhananj) REVIEW: http://review.gluster.org/16046 (afr, client: More mem-leak fixes in COMPOUND fop cbk) posted (#2) for review on release-3.9 by Krutika Dhananjay (kdhananj) REVIEW: http://review.gluster.org/16046 (afr, client: More mem-leak fixes in COMPOUND fop cbk) posted (#3) for review on release-3.9 by Krutika Dhananjay (kdhananj) REVIEW: http://review.gluster.org/16046 (afr, client: More mem-leak fixes in COMPOUND fop cbk) posted (#4) for review on release-3.9 by Krutika Dhananjay (kdhananj) REVIEW: http://review.gluster.org/16100 (afr: fix bug in passing child index in afr_inode_write_fill) posted (#1) for review on release-3.9 by Krutika Dhananjay (kdhananj) REVIEW: http://review.gluster.org/16100 (afr: fix bug in passing child index in afr_inode_write_fill) posted (#2) for review on release-3.9 by Krutika Dhananjay (kdhananj) REVIEW: http://review.gluster.org/16046 (afr, client: More mem-leak fixes in COMPOUND fop cbk) posted (#5) for review on release-3.9 by Krutika Dhananjay (kdhananj) COMMIT: http://review.gluster.org/16046 committed in release-3.9 by Pranith Kumar Karampuri (pkarampu) ------ commit a8a2d6d3bb161e86464c9bb72b8847fe3ef7699e Author: Krutika Dhananjay <kdhananj> Date: Sat Dec 3 09:09:15 2016 +0530 afr, client: More mem-leak fixes in COMPOUND fop cbk Backport of: http://review.gluster.org/16020 Bugs found and fixed: 1. Use correct subvolume index in pre-op-writev compound cbk 2. Prevent use-after-free of local->compound_args members in compound fops cbk in protocol/client 3. Fix xdata and xattr leaks in client_process_response 4. Fix possible leak of xdata in client_pre_writev() in test mode. 5. Free req->compound_req_array.compound_req_array_val as well after freeing its members 6. Free tmp_rsp->flock.lk_owner.lk_owner_val in LK fop. Change-Id: I40f576b48625d65fcbd7a11181eeff37f9e1e011 BUG: 1402212 Signed-off-by: Krutika Dhananjay <kdhananj> Reviewed-on: http://review.gluster.org/16046 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> REVIEW: http://review.gluster.org/16100 (afr: fix bug in passing child index in afr_inode_write_fill) posted (#3) for review on release-3.9 by Krutika Dhananjay (kdhananj) COMMIT: http://review.gluster.org/16100 committed in release-3.9 by Pranith Kumar Karampuri (pkarampu) ------ commit d92a438350cc30d9961c29fcc696c449790490e4 Author: Ravishankar N <ravishankar> Date: Mon Dec 5 21:14:57 2016 +0530 afr: fix bug in passing child index in afr_inode_write_fill Backport of: http://review.gluster.org/16029 Change-Id: I2589aab4b781cc7b50c93f33c8dc51036dbf82f8 BUG: 1402212 Signed-off-by: Ravishankar N <ravishankar> Reviewed-on: http://review.gluster.org/16100 Tested-by: Krutika Dhananjay <kdhananj> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Smoke: Gluster Build System <jenkins.org> Reviewed-by: Pranith Kumar Karampuri <pkarampu> 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.9.1, please open a new bug report. glusterfs-3.9.1 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://lists.gluster.org/pipermail/gluster-users/2017-January/029725.html [2] https://www.gluster.org/pipermail/gluster-users/ 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.9.1, please open a new bug report. glusterfs-3.9.1 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://lists.gluster.org/pipermail/gluster-users/2017-January/029725.html [2] https://www.gluster.org/pipermail/gluster-users/ |