[LU-1602] Fix flock deadlock detection race Created: 05/Jul/12 Updated: 12/Sep/13 Resolved: 25/Jun/13 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.4.1, Lustre 2.5.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Andriy Skulysh | Assignee: | Keith Mannthey (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Severity: | 3 |
| Rank (Obsolete): | 8815 |
| Description |
|
if 2 threads are trying to grant 2 locks which deadlock to each other and are running ldlm_flock_deadlock() in parallel, deadlock may not detected. |
| Comments |
| Comment by Andriy Skulysh [ 05/Jul/12 ] |
|
Solution is to add lock to blocking list before deadlock check |
| Comment by Andriy Skulysh [ 09/Oct/12 ] |
|
Xyratex-bug-id: MRP-412 |
| Comment by Jodi Levi (Inactive) [ 25/Jun/13 ] |
|
Patch landed to Master, closing ticket. Please let me know if more work is needed and I will reopen this ticket. |