Bug 955751
Summary: | fuse mount crashes because of double mem_put in io-cache | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Michael <michael.auckland> |
Component: | io-cache | Assignee: | Pranith Kumar K <pkarampu> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | pre-release | CC: | gluster-bugs, pkarampu, vbellur |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.4.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-07-24 17:59:21 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: | |||
Bug Blocks: | 952693 |
Description
Michael
2013-04-23 17:26:23 UTC
Steps to recreate: 1) When reads are in progress kill the bricks from which the reads are happening In the error handling code path of io-cache, the issue is seen. REVIEW: http://review.gluster.org/4884 (performance/io-cache: Avoid double mem_put in ioc_readv) posted (#2) for review on master by Pranith Kumar Karampuri (pkarampu) REVIEW: http://review.gluster.org/4886 (performance/io-cache: Avoid double mem_put in ioc_readv) posted (#1) for review on release-3.4 by Pranith Kumar Karampuri (pkarampu) COMMIT: http://review.gluster.org/4884 committed in master by Vijay Bellur (vbellur) ------ commit 6419bd804b9cf43ad08fc54ef605c77b0e7895af Author: Pranith Kumar K <pkarampu> Date: Wed Apr 24 18:05:13 2013 +0530 performance/io-cache: Avoid double mem_put in ioc_readv On readv error io-cache frame->local is not set to NULL so the local is mem_put in STACK_DESTROY as well. This patch sets frame->local to NULL in all cases. Change-Id: I00013df1377475aa5f3c0c681dcb58b32e1e8063 BUG: 955751 Signed-off-by: Pranith Kumar K <pkarampu> Reviewed-on: http://review.gluster.org/4884 Reviewed-by: Raghavendra G <raghavendra> Tested-by: Gluster Build System <jenkins.com> COMMIT: http://review.gluster.org/4886 committed in release-3.4 by Vijay Bellur (vbellur) ------ commit 5925d8a2512b8d4452b0b0efbafd9c7536ed3a51 Author: Pranith Kumar K <pkarampu> Date: Wed Apr 24 18:05:13 2013 +0530 performance/io-cache: Avoid double mem_put in ioc_readv On readv error io-cache frame->local is not set to NULL so the local is mem_put in STACK_DESTROY as well. This patch sets frame->local to NULL in all cases. BUG: 955751 Change-Id: I4a7340189efe02473452986b5870b02fcfa9038e Signed-off-by: Pranith Kumar K <pkarampu> Reviewed-on: http://review.gluster.org/4886 Reviewed-by: Raghavendra G <raghavendra> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Vijay Bellur <vbellur> |