Bug 1216942
Summary: | glusterd crash when snapshot create was in progress on different volumes at the same time - job edited to create snapshots at the given time | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Anand Nekkunti <anekkunt> |
Component: | glusterd | Assignee: | bugs <bugs> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.7.0 | CC: | amukherj, anekkunt, asengupt, bugs, gluster-bugs, nsathyan, sasundar, senaik, vagarwal |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | glusterd | ||
Fixed In Version: | glusterfs-3.7.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1211640 | Environment: | |
Last Closed: | 2015-05-22 09:20:34 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: | 1211640, 1224231 | ||
Bug Blocks: | 1186580, 1199352 |
Description
Anand Nekkunti
2015-04-29 09:14:41 UTC
REVIEW: http://review.gluster.org/10432 (libglusterfs: Implementation of sync lock as recursive lock to avoid crash.) posted (#2) for review on release-3.7 by Anand Nekkunti (anekkunt) COMMIT: http://review.gluster.org/10432 committed in release-3.7 by Vijay Bellur (vbellur) ------ commit 7bafeda4641582b5254f0e1f49e853dd87fe93f5 Author: anand <anekkunt> Date: Fri Apr 17 14:19:46 2015 +0530 libglusterfs: Implementation of sync lock as recursive lock to avoid crash. Problem : In glusterd,we are using big lock which is implemented based on sync task frame work for thread synchronization and rcu lock for data consistency. sync task frame work swap the threads if there is no worker poll threads available,due to this rcu lock and rcu unlock was happening in different threads (urcu-bp will not allow this),resulting into glusterd crash. fix : To avoid releasing the sync lock(big lock) in between rcu critical section,implemented sync lock as recursive lock. More details: link : http://www.spinics.net/lists/gluster-devel/msg14632.html Change-Id: I2b56c1caf3f0470f219b1adcaf62cce29cdc6b88 BUG: 1216942 Signed-off-by: anand <anekkunt> Reviewed-on: http://review.gluster.org/10285 Reviewed-by: Atin Mukherjee <amukherj> Tested-by: Gluster Build System <jenkins.com> Tested-by: NetBSD Build System Reviewed-by: Vijay Bellur <vbellur> (cherry picked from commit ada6b3a8800867934af57a57d5312f5a5d8374f0) Reviewed-on: http://review.gluster.org/10432 Reviewed-by: Krishnan Parthasarathi <kparthas> Tested-by: Vijay Bellur <vbellur> |