Bug 761975 (GLUSTER-243) - Hold locks when accessing members of wb_file_t.
Summary: Hold locks when accessing members of wb_file_t.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-243
Product: GlusterFS
Classification: Community
Component: write-behind
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-02 10:18 UTC by Raghavendra G
Modified: 2009-11-23 11:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTNR
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Raghavendra G 2009-09-02 10:18:45 UTC
There are many places in write-behind.c where locks are not being held while accessing members of wb_file. These should be fixed.

Comment 1 Anand Avati 2009-09-08 07:23:14 UTC
PATCH: http://patches.gluster.com/patch/1224 in master (performance/write-behind: hold locks when accessing members of wb_file.)

Comment 2 Anand Avati 2009-09-08 07:23:50 UTC
PATCH: http://patches.gluster.com/patch/1223 in release-2.0 (performance/write-behind: hold locks when accessing members of wb_file.)


Note You need to log in before you can comment on or make changes to this bug.