Bug 1339228
| Summary: | gfapi: set mem_acct for the variables created for upcall | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Soumya Koduri <skoduri> |
| Component: | libgfapi | Assignee: | Soumya Koduri <skoduri> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Sudhir D <sdharane> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.8.0 | CC: | bugs, sdharane |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.8rc2 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1339214 | Environment: | |
| Last Closed: | 2016-06-16 14:08:26 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: | 1339214 | ||
| Bug Blocks: | 1339226 | ||
|
Description
Soumya Koduri
2016-05-24 12:29:20 UTC
REVIEW: http://review.gluster.org/14523 (gfapi/upcall: Use GF_CALLOC while allocating variables) posted (#1) for review on release-3.8 by soumya k (skoduri) REVIEW: http://review.gluster.org/14523 (gfapi/upcall: Use GF_CALLOC while allocating variables) posted (#2) for review on release-3.8 by Niels de Vos (ndevos) COMMIT: http://review.gluster.org/14523 committed in release-3.8 by Niels de Vos (ndevos) ------ commit eb4bd2444531ad0d347c574e8341afbba8bf143d Author: Soumya Koduri <skoduri> Date: Tue May 24 17:42:06 2016 +0530 gfapi/upcall: Use GF_CALLOC while allocating variables In 'glfs_h_poll_cache_invalidation', use GF_CALLOC to allocate 'up_inode_arg' to set memory accounting which is used/referred when freeing the same variable in case of any erros. This is backport of below mainline fix - http://review.gluster.org/14521 Change-Id: I365e114fa6d7abb292dacb6fc702128d046df8f8 BUG: 1339228 Signed-off-by: Soumya Koduri <skoduri> Reviewed-on: http://review.gluster.org/14523 NetBSD-regression: NetBSD Build System <jenkins.org> Reviewed-by: Niels de Vos <ndevos> Smoke: Gluster Build System <jenkins.com> CentOS-regression: Gluster Build System <jenkins.com> 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.0, please open a new bug report. glusterfs-3.8.0 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://blog.gluster.org/2016/06/glusterfs-3-8-released/ [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |