Bug 1048831
Summary: | [SNAPSHOT]: brick process crashed while creating snapshot when multiple file/directory creation is inprogress from fuse and nfs mount | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Rahul Hinduja <rhinduja> |
Component: | snapshot | Assignee: | Joseph Elwin Fernandes <josferna> |
Status: | CLOSED ERRATA | QA Contact: | Rahul Hinduja <rhinduja> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | rhgs-3.0 | CC: | josferna, nsathyan, rhs-bugs, rjoseph, sankarshan, sdharane, senaik, ssamanta, storage-qa-internal |
Target Milestone: | --- | ||
Target Release: | RHGS 3.0.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | SNAPSHOT | ||
Fixed In Version: | glusterfs-3.6.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-09-22 19:31:16 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: | 1048840, 1049278 |
Description
Rahul Hinduja
2014-01-06 12:11:29 UTC
Assigning the bug to myself As investigated the reason for this behavior in glusterfsd is the race condition caused during clean up of the inode_lk and entry_lk table of the client when a client disconnect happens. The two threads contesting for the cleanup are snap barrier and the epoll thread. One of the thread de-allocates the memory of ltable structure but never assigns a NULL. The second thread which picks up the ltable never senses that the memory is de-allocated and tries freeing ltable. This issue is addressed in one of the upstream patch by Anand Avati : http://review.gluster.org/#/c/6695/ Applied the patch http://review.gluster.org/#/c/6695/ and tested with snapshot. The fix works. Marking snapshot BZs to RHS 3.0. Setting flags required to add BZs to RHS 3.0 Errata Verified with the build: glusterfs-3.6.0.11-1.el6rhs.x86_64 Didn't observe the glusterfsd crash. Moving the bug to verified state. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2014-1278.html |