Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The process is getting crashed during call ios_bump_stats in cbk code path. After checked the code it seems the process is getting crashed because the ios_stat_head list is destroyed by the function ios_destroy_top_stats without taking a list mutex while receive a clear profile event from the client. If at the same time a process is trying to access the list it can be crash. Change-Id: I1b4d56517fa405eb84da7fffca61e15530652204 Solution: Destroy the ios_stat under the list mutex. Fixes: gluster#3901 Signed-off-by: Mohit Agrawal <[email protected]>
- Loading branch information