glusterfs
glusterfs copied to clipboard
dht: Synchronize layout_(ref|unref) during layout_(get|set) in dht code
Currently dht_layout(ref|unref) is happening after increase/decreate atomic counter. There is some race condition during new layout has been changed at the same time old layout is using in other thread.Due to this a client process is getting crashed.
Solution: Remove layout->ref_lock and use inode->lock to synchronize layout.
Fixes: #3262 Change-Id: I55952484bd651176f818b9cab54274f37dbca1a6 Signed-off-by: Mohit Agrawal [email protected]
/run regression
/recheck smoke
/run regression
/recheck smoke
Thank you for your contributions. Noticed that this issue is not having any activity in last ~6 months! We are marking this issue as stale because it has not had recent activity. It will be closed in 2 weeks if no one responds with a comment here.
Closing this issue as there was no update since my last update on issue. If this is an issue which is still valid, feel free to open it.