path: root/xlators/storage
diff options
authorShyam <>2015-01-08 13:56:08 -0500
committerRaghavendra G <>2015-01-12 21:14:52 -0800
commit3971315248c57386e05e6c8f57369a4571555cb2 (patch)
tree9728c3b139105d8bb08e2df3dbcf8abd7588d4ff /xlators/storage
parent9d37406b59fc33940c8e4e925ef9803b2d9b6507 (diff)
fuse: Fix cores in notify function when this is executed in parallel
The fuse notify function gets called by the epoll or the poll thread and till the point there is a single epoll thread, 2 notify instances would not race with each other. With the upcoming multi thread epoll changes, it is possible that 2 epoll threads invoke the notify function. As a result races in this function are fixed with this commit. The races seen are detailed in the bug, and the fix here is to enforce a (slightly) longer critical section when updating the fuse private structure and reserving state updates post error handling. Change-Id: I6974bc043cb59eb6dc39c5777123364dcefca358 BUG: 1180231 Signed-off-by: Shyam <> Reviewed-on: Tested-by: Gluster Build System <> Reviewed-by: Raghavendra G <> Tested-by: Raghavendra G <>
Diffstat (limited to 'xlators/storage')
0 files changed, 0 insertions, 0 deletions