Description of problem: found this problem during code review. In qr_unlink, local->open_count is incremented by holding inode->lock. However, the same is decremented in qr_unlink_helper by holding a different lock (local->lock). This can result in a race-condition possibly leading to memory corruptions and other issues. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
CHANGE: http://review.gluster.org/4396 (performance/quick-read: fix race condition in unlink) merged in release-3.3 by Anand Avati (avati)