[Bugs] [Bug 1170954] New: Fix mutex problems reported by coverity scan
bugzilla at redhat.com
bugzilla at redhat.com
Fri Dec 5 08:19:52 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1170954
Bug ID: 1170954
Summary: Fix mutex problems reported by coverity scan
Product: GlusterFS
Version: 3.6.1
Component: disperse
Assignee: bugs at gluster.org
Reporter: xhernandez at datalab.es
CC: bugs at gluster.org, gluster-bugs at redhat.com
Depends On: 1170254
+++ This bug was initially created as a clone of Bug #1170254 +++
Description of problem:
Coverity scan reported 3 issues related to mutexes:
CID1241484 Data race condition
CID1241486 Data race condition
CID1256173 Thread deadlock
Version-Release number of selected component (if applicable): master
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
--- Additional comment from Anand Avati on 2014-12-03 16:45:40 CET ---
REVIEW: http://review.gluster.org/9230 (ec: Fix mutex related coverity scan
issues) posted (#1) for review on master by Xavier Hernandez
(xhernandez at datalab.es)
--- Additional comment from Anand Avati on 2014-12-04 20:36:36 CET ---
COMMIT: http://review.gluster.org/9230 committed in master by Vijay Bellur
(vbellur at redhat.com)
------
commit 30ae004100067f52fe156098ffb215417db5559e
Author: Xavier Hernandez <xhernandez at datalab.es>
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
With this patch, inode lock is never acquired inside a region locked
with fop->lock.
Change-Id: I35c4633efd1b68b9f72b42661fa7c728b1f52c6a
BUG: 1170254
Signed-off-by: Xavier Hernandez <xhernandez at datalab.es>
Reviewed-on: http://review.gluster.org/9230
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Dan Lambright <dlambrig at redhat.com>
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1170254
[Bug 1170254] Fix mutex problems reported by coverity scan
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list