Bug 1170954
Summary: | Fix mutex problems reported by coverity scan | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Xavi Hernandez <jahernan> |
Component: | disperse | Assignee: | Xavi Hernandez <jahernan> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.6.1 | CC: | bugs, gluster-bugs, rabhat |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.6.2 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1170254 | Environment: | |
Last Closed: | 2015-01-28 14:26:30 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: | 1170254 | ||
Bug Blocks: | 1163723 |
Description
Xavi Hernandez
2014-12-05 08:19:52 UTC
REVIEW: http://review.gluster.org/9244 (ec: Fix mutex related coverity scan issues) posted (#1) for review on release-3.6 by Xavier Hernandez (xhernandez) REVIEW: http://review.gluster.org/9244 (ec: Fix mutex related coverity scan issues) posted (#2) for review on release-3.6 by Xavier Hernandez (xhernandez) COMMIT: http://review.gluster.org/9244 committed in release-3.6 by Raghavendra Bhat (raghavendra) ------ commit 8bfe216b8297129833d3af5a66984b9b9bf0046c Author: Xavier Hernandez <xhernandez> Date: Wed Dec 3 16:42:31 2014 +0100 ec: Fix mutex related coverity scan issues This patch solves 3 issues detected by coverity scan: CID1241484 Data race condition CID1241486 Data race condition CID1256173 Thread deadlock CID1257622 Thread deadlock With this patch, inode lock is never acquired inside a region locked with fop->lock. This is a backport of http://review.gluster.org/9230/ and http://review.gluster.org/9263/ Change-Id: I35c4633efd1b68b9f72b42661fa7c728b1f52c6a BUG: 1170954 Signed-off-by: Xavier Hernandez <xhernandez> Reviewed-on: http://review.gluster.org/9244 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Dan Lambright <dlambrig> Reviewed-by: Raghavendra Bhat <raghavendra> 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.6.2, please reopen this bug report. glusterfs-3.6.2 has been announced on the Gluster Developers mailinglist [1], packages for several distributions should already be or become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. The fix for this bug likely to be included in all future GlusterFS releases i.e. release > 3.6.2. [1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/5978 [2] http://news.gmane.org/gmane.comp.file-systems.gluster.user [3] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/6137 |